Trade history events

Returns trade events (opens, closes, liquidations, partial sells) for a wallet. Includes amounts, prices, PnL, and referrer info.

protocolFee denomination: the protocolFee field on each row is in raw smallest units of protocolFeeMint (the row's separate mint field — typically the quote token for LONG/BORROW, the base token for SHORT). Divide by 10^decimals of protocolFeeMint for a human amount.

Fees are charged at BOTH OPEN (1% of position size) and CLOSE (1% of position value at close), so any single position normally produces two rows with non-zero protocolFee.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Filter by wallet address

string

Filter by position address (includes ancestor positions from splits)

string

Filter by offer/pool public key

string
enum

Filter by event type

Allowed:
integer
Defaults to 50
integer
Defaults to 0
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json