openzeppelin_relayer::api::controllers::relayer

Function get_relayer_status

Source
pub async fn get_relayer_status(
    relayer_id: String,
    state: ThinData<AppState<JobProducer>>,
) -> Result<HttpResponse, ApiError>
Expand description

Retrieves the status of a specific relayer.

§Arguments

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

§Returns

The status of the specified relayer.