Skip to main content
GET
Recent Swaps

Path Parameters

string
required
The pool config PDA address.

Query Parameters

integer
default:"50"
Page size — number of swaps to return per request. Maximum 200.
string
Opaque pagination cursor. Omit on the first request; on subsequent requests, pass the next_cursor value from the previous response to fetch the next page. When the server returns next_cursor: null (equivalently has_more: false), you have reached the end of the pool’s history.
string
default:"mainnet-beta"
Solana cluster — mainnet-beta or devnet.

Response

array
Array of swap events on this page, ordered by most recent first.
string | null
Cursor to pass as ?cursor=... on the next request to fetch the following page. null when there are no more swaps (end of history).
boolean
true if more swaps are available beyond this page, false if this is the last page.
For a pool whose protocol fee routes through the fee-split sidecar, the fees object includes a populated protocol_fee_split (shares sum to protocol_fee_raw):