Outcome: two small scripts - one listing your trades, one dissecting a single trade.Time: about 5 minutes.Bring: a workspace API key or a JWT bearer token (details); scoping happens on its own.
1. List your workspace’s trades
Fetch trades across every supported chain in one call - no per-network queries.Reading What Comes Back
Trimmed to representative fields - nullable fields come back asnull when absent (orderKind is omitted entirely); the full shape is in the API reference.
Slicing a time window
dateFrom and dateTo bound the result set:
Pagination
Pagination is offset-based: stepoffset forward by limit until you’ve covered total:
2. Drill into a single trade
Fetch one trade’s full dossier - trade details, on-chain settlement transactions, and LP info. Trades are keyed by order id, not transaction hash; the settlement transaction hashes live inside the detail’ssettlement section.
trade (the list fields plus fill time and slippage tolerance), settlement (per-stage transaction references), lp, and - for admin/owner callers - compliance, Travel Rule, proof, intent, and fee sections.