Skip to main content
POST
/
transactions
/
cancel-pending
Cancel pending blockchain transactions
curl --request POST \
  --url http://localhost:4000/v1/transactions/cancel-pending \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "0xaDA2782Ed2338813746df68788AFDD4a9775A34b",
  "chainId": 11155111,
  "gasPriceMultiplier": 1.2
}
'
{
  "success": true,
  "message": "<string>",
  "statusCode": 123,
  "timestamp": "<string>",
  "data": {
    "address": "0xaDA2782Ed2338813746df68788AFDD4a9775A34b",
    "pendingCount": 5,
    "cancelledCount": 5,
    "cancellationTxHashes": [
      "0x...",
      "0x..."
    ],
    "details": "<array>"
  },
  "path": "<string>"
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Query Parameters

integratorId
string

Integrator ID (required for ADMIN/INTERNAL scope)

Example:

"uuid-integrator-id"

Body

application/json

Cancellation parameters

address
string
required

Wallet address to cancel pending transactions for

Example:

"0xaDA2782Ed2338813746df68788AFDD4a9775A34b"

chainId
number
required

Chain ID where the pending transactions are

Example:

11155111

gasPriceMultiplier
number

Gas price multiplier for replacement transaction (default: 1.2 = 20% more)

Example:

1.2

Response

success
boolean
required
message
string
required
statusCode
number
required
timestamp
string
required
data
object
path
string