openzeppelin_relayer::api::controllers::relayer

Function delete_pending_transactions

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

Deletes all pending transactions for a specific relayer.

§Arguments

  • relayer_id - The ID of the relayer.
  • state - The application state containing the relayer repository.

§Returns

A success response if the operation was successful.