Skip to main content
GET
Get trader collateral history v2

Path Parameters

trader_pubkey
string
required

Trader PDA pubkey (base58 encoded)

Query Parameters

limit
integer<int64>
required

Number of items to return (max 1000)

nextCursor
string

Cursor for older events (base64-encoded).

prevCursor
string

Cursor for newer events (base64-encoded).

cursor
string

Deprecated cursor parameter (older events).

Response

200 - application/json

Mixed collateral history

Response for mixed collateral history queries.

data
object[]
required

The data payload (events, newest first).

hasMore
boolean
required

Whether there are more results in the requested direction.

nextCursor
string | null

Cursor for fetching older results.

prevCursor
string | null

Cursor for fetching newer results.