openzeppelin_relayer::api::controllers::relayerFunction cancel_transaction
Source pub async fn cancel_transaction(
relayer_id: String,
transaction_id: String,
state: ThinData<AppState<JobProducer>>,
) -> Result<HttpResponse, ApiError>
Expand description
Cancels a specific transaction for a relayer.
§Arguments
relayer_id - The ID of the relayer.
transaction_id - The ID of the transaction to cancel.
state - The application state containing the transaction repository.
§Returns
The details of the canceled transaction.