Get Global Swaps
Retrieve a list of the latest swaps across all pools on the AMM.Get Pool Swaps
Fetch the swap history for a single, specific pool.Get User Swaps
Retrieve the trading history for a specific user. If no user public key is provided, it defaults to the client’s wallet public key.Filtering and Pagination
All history methods supportlimit
and offset
for pagination, as well as other filters like startTime
and endTime
. Refer to the ListPoolSwapsQuery
, ListGlobalSwapsQuery
, and ListUserSwapsQuery
types in src/types/index.ts
for a full list of available filters.