This endpoint retrieves all swap transactions that have occurred in the AMM, across all pools, sorted by most recent first. It provides comprehensive details about each swap including amounts, prices, fees, participants, and pool information.
Each swap event includes:
Results are paginated to handle the potentially massive number of swaps:
limit to control page size (max 100)offset to navigate through pagestotalCount indicates total swaps availableOptional filters to narrow down results:
poolType: Show only swaps from specific pool typesassetAddress: Show only swaps involving a specific assetSwaps are always returned in reverse chronological order (newest first) to show the most recent activity.
limit - Maximum swaps per page (1-100, default: 20)offset - Number of swaps to skip (default: 0)poolType - Optional filter by pool typeassetAddress - Optional filter by asset address200 OK with paginated swap list and total count500 Internal Server Error if retrieval failsMaximum number of swaps to return in the response. Helps manage response size when dealing with large swap volumes.
1 <= x <= 100Number of swaps to skip before starting to collect results. Used for paginating through large result sets.
x >= 0Filter by pool type (CONSTANT_PRODUCT or SINGLE_SIDED).
If not specified, returns swaps from all pool types.
Filter by asset address (will match either input or output asset). Useful for finding all swaps involving a specific asset.
Start timestamp (inclusive) in RFC3339 format.
End timestamp (inclusive) in RFC3339 format.