This endpoint retrieves all swap transactions that have occurred in a pool, sorted by most recent first. It provides comprehensive details about each swap including amounts, prices, fees, and participants.
Each swap event includes:
Results are paginated to handle pools with extensive trading history:
limit to control page size (max 100)offset to navigate through pagestotalCount indicates total swaps availableSwaps are always returned in reverse chronological order (newest first) to show the most recent activity.
lpPubkey - The LP public key of the poollimit - Maximum swaps per page (1-100, default: 20)offset - Number of swaps to skip (default: 0)200 OK with paginated swap list and total count404 Not Found if pool doesn’t exist500 Internal Server Error if retrieval failsThe LP public key identifying the pool
Maximum number of swaps to return in the response. Helps manage response size for pools with many swaps.
1 <= x <= 100Number of swaps to skip before starting to collect results. Used for paginating through large result sets.
x >= 0Start timestamp (inclusive) in RFC3339 format.
End timestamp (inclusive) in RFC3339 format.