Actions61
- Activity Actions
- Asset Actions
- Custom Query Actions
- Hub Actions
- Lending Actions
- Market Data Actions
- Position Management Actions
- Position Swap Actions
- Protocol Actions
- Reserve Actions
- Spoke Actions
- Swap Actions
- User Position Actions
Swap → Cancel Swap (By Transaction)
AI-generatedSummary
Cancel a pending Aave V4 swap using its transaction ID.
Inputs
- chainId — Identifier of the blockchain (e.g., network name or ID) on which the swap was performed.
- cancelSwapByTransactionId (required) — The unique identifier of the swap to cancel.
Output shape
a JSON object indicating the result of the cancellation request
Typically contains a success flag and may include error details; may return no body on success.
Examples
Example 1: Cancel a swap on Ethereum mainnet
{"chainId":"mainnet","cancelSwapByTransactionId":"0x123abc..."}
Example 2: Cancel a swap on Polygon network using an expression for chainId
{"chainId":"{{ $node["Previous"].item("chainId") }}","cancelSwapByTransactionId":"swap_9876"}