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 → List User Swaps
AI-generatedSummary
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: ""