# cancel

The cancel RPC method cancels a previously-submitted transaction.

Name Type Description
tx_id String Transaction ID (TXID) in hex-encoded string format.

# Request body example

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "send_raw_transaction",
  "params": {
    "tx_id": "0x……ff"
  }
}
curl -s --data '{"jsonrpc": "2.0","id": "1","method": "cancel","params": {"tx_id": "0x……ff"}' -H "Content-Type: application/json" -H "Authorization: Bearer ${TOKEN}" -X POST ${URL}```

Coming soon

Coming soon

Coming soon

# Response body example

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": null,
  "result": "ok"
}