Skip to main content
POST
public/get_trade_history

Body

application/json
batch_status
enum<string> | null

Batch lifecycle status — the single source of lifecycle truth for every operation in the batch (individual ops carry no status of their own). Each stage has a healthy variant and a corresponding ...Error variant meaning that stage failed. Serialized as the variant name (string) in API responses.

Available options:
Batching,
Executing,
Proving,
Settling,
Settled,
BatchingError,
ExecutingError,
ProvingError,
SettlingError,
SettledError
currency
string | null
from_timestamp
integer<int64> | null
instrument_name
string | null
instrument_type
enum<string> | null

Asset type of the instrument: "option", "perp", or "erc20".

Available options:
option,
perp,
erc20
page
integer<uint32> | null
Required range: x >= 0
page_size
integer<uint32> | null
Required range: x >= 0
subaccount_id
integer<int64> | null
to_timestamp
integer<int64> | null
trade_id
string | null

Response

Success

pagination
object
required

Response envelope for paginated RPCs.

trades
object[]
required