Aave V4 icon

Aave V4

Query Aave V4 DeFi protocol. Use this to: check supported chains, list hubs/spokes/reserves, get user positions/balances/supplies/borrows by wallet address, view transaction history, get exchange rates and APY history. Supports custom GraphQL queries for advanced use cases.

Swap → Cancel Swap (By Transaction)

AI-generated

Summary

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"}

Links

Discussion