POST
GetOrderHistory🔐 Auth RequiredGet historical orders with pagination.
Request
| Parameter | Type |
|---|---|
addressoptional | Address |
market_idoptional | uint32 |
limitoptional | uint32 |
before_timeoptional | uint64 |
Response
| Field | Type |
|---|---|
orders | Order[] |
has_more | bool |
Example
Requesttypescript
import { RealmClient } from '@realm/sdk';const client = new RealmClient('https://api.realm.com');await client.connect(wallet);const response = await client.getOrderHistory({ /* params */ });console.log(response);
Responsejson
{// Response fields}