Poll by transaction hash
Query by order id
orderIds are on-chain keeper order ids. In the response, oid is the same id formatted as a base-10 numeric string, so it can be compared directly with the value returned by extractOrderIdFromReceipt().
Filter order history
Without filters,OstiumClient.getOrders() returns recent orders for the connected trader. Pass user: 'ALL' to remove the trader filter and fetch global orders. When builder is provided without user, the SDK does not add the connected-trader default.
orderIds and initiatedTxHashes are mutually exclusive. The other filters can be combined.
pairIds sends one request per pair, at most six at a time, and merges the results newest first before limit applies. A long pairIds list is slow and counts against the builder API’s rate limit, so for a trader’s orders across many pairs, query by user alone and filter by pair in your app.
start and end filter by execution time (executedAt) as Unix seconds UTC with inclusive bounds. Pending orders do not have execution time, so combining start or end with isPending: true returns no executed-time matches.
For builder analytics that should include sibling close, TP, and SL orders on the same positions, use getBuilderOrders.