Deletes all pending transactions for a specific relayer.

DELETE
/api/v1/relayers/{relayer_id}/transactions/pending
AuthorizationBearer <token>

In: header

Path Parameters

relayer_idstring

The unique identifier of the relayer

Response Body

curl -X DELETE "https://loading/api/v1/relayers/string/transactions/pending"
{
  "data": {
    "failed_to_queue_transaction_ids": [
      "string"
    ],
    "queued_for_cancellation_transaction_ids": [
      "string"
    ],
    "total_processed": 0
  },
  "error": "string",
  "pagination": {
    "current_page": 0,
    "per_page": 0,
    "total_items": 0
  },
  "success": true
}
{
  "data": null,
  "message": "Bad Request",
  "success": false
}
{
  "data": null,
  "message": "Unauthorized",
  "success": false
}
{
  "data": null,
  "message": "Relayer with ID relayer_id not found",
  "success": false
}
{
  "data": null,
  "message": "Too Many Requests",
  "success": false
}
{
  "data": null,
  "message": "Internal Server Error",
  "success": false
}