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 → List User Swaps

AI-generated

Summary

List user swaps

Inputs

  • chainId — Choose from the list, or specify an ID using an expression
  • swapUserAddress (required) — The user address to get swaps for
  • swapStatusFilter — Filter swaps by status (e.g., Cancelled, Expired, Fulfilled, Open, Pending Signature)
  • swapCursor — Pagination cursor from previous response to fetch the next page

Output shape

a list of swap records

May include paginationInfo.next cursor; fields depend on the underlying API and can be optional

Examples

Example 1: Fetch all swaps for a user

chainId: "1", swapUserAddress: "0xAbc...", swapStatusFilter: [], swapCursor: ""

Example 2: Filter by status and paginate

chainId: "2", swapUserAddress: "0xDef...", swapStatusFilter: ["OPEN"], swapCursor: "0x123"

Example 3: List swapped tokens

chainId: "3", swapUserAddress: "0xGhi...", swapStatusFilter: ["FULFILLED"], swapCursor: ""

Links

Discussion