Cancel transaction

Transaction · Acts onchain

Cancels a scheduled or pending intent owned by the address. An armed intent is a standing order: it will fire whenever its conditions are met, whether or not anyone is watching. Cancelation is how a standing order dies before it fires. Rows that have already settled are history and stay untouched. Reach for it when a strategy is retired, a schedule is no longer wanted, or a pending transaction was a mistake, and confirm the row's status through the transactions list afterward.

Send a request

Response

{
id: string
status: string
scheduler_status: string | undefined
execution_mode: string | undefined
tx_hash: string | null
}

Code samples

Language

Claude

Prompt

Call the Plug API endpoint "Cancel transaction".
## Endpoint
DELETE /address/{address}/transaction/
Base URL: https://api.plug.to
## Description
Cancels a scheduled or pending intent owned by the address.
An armed intent is a standing order: it will fire whenever its conditions are met, whether or not anyone is watching. Cancelation is how a standing order dies before it fires. Rows that have already settled are history and stay untouched.
Reach for it when a strategy is retired, a schedule is no longer wanted, or a pending transaction was a mistake, and confirm the row's status through the transactions list afterward.
## Path Parameters
- address (string, required) — The EVM address to get information for. In the case that you request an address we have never indexed, we will immediately index it.
Current value: 0x62180042606624f02d8a130da8a3171e9b33894d
## Query Parameters
- id (string, required) — The intent row id to cancel.
## Response Schema
- id (string, required)
- status (string, required)
- scheduler_status (string, optional)
- execution_mode (string, optional)
- tx_hash (string, optional)
## Example Request
DELETE https://api.plug.to/address/0x62180042606624f02d8a130da8a3171e9b33894d/transaction/