Function get_relayer_balance

Source
pub async fn get_relayer_balance<J, RR, TR, NR, NFR, SR, TCR, PR>(
    relayer_id: String,
    state: ThinDataAppState<J, RR, TR, NR, NFR, SR, TCR, PR>,
) -> Result<HttpResponse, ApiError>
Expand description

Retrieves the balance of a specific relayer.

§Arguments

  • relayer_id - The ID of the relayer to check balance for.
  • state - The application state containing the relayer repository.

§Returns

The balance of the specified relayer.