Skip to main content
GET
Recent Swaps

Path Parameters

address
string
required
The pool config PDA address.

Query Parameters

limit
integer
default:"50"
Page size — number of swaps to return per request. Maximum 200.
cursor
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.
cluster
string
default:"mainnet-beta"
Solana cluster — mainnet-beta or devnet.

Response

data
array
Array of swap events on this page, ordered by most recent first.
next_cursor
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).
has_more
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):