public/get_trade_history
Returns paginated, anonymized trades with optional filters: trade_id (a UUID, which overrides all other filters), instrument_name, instrument_type (erc20/option/perp), currency, subaccount_id, batch_status (a batch-status name; unset returns trades in every batch state), and from_timestamp/to_timestamp. Each trade is enriched with its settlement status and transaction hash. Public endpoint.
Body
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.
Batching, Executing, Proving, Settling, Settled, BatchingError, ExecutingError, ProvingError, SettlingError, SettledError Asset type of the instrument: "option", "perp", or "erc20".
option, perp, erc20 x >= 0x >= 0