POST /v1/exchange (encrypted binary).
Read family: updates · Permission: owner or current READ agent.
Account, position and operation snapshots. Results belong to your account. The query supports HTTP and
WebSocket, including subscriptions.
Configure
client and the example inputs using SDK integration. Examples show typed SDK values, not a plaintext HTTP JSON body.Request fields
Use the configured client and envelope. Each request suppliesid, current epoch and authentication expiresAt, as shown in the example.
Omit or use all-zero bytes to start. For another page, use the prior page’s
next under the same snapshot revision.Response fields
Inspect each row’skind before reading its fields:
Fields marked required inside a row group apply only to that row kind. For example, a
position row does not contain cash, and a receipt row uses row.receipt.outcome, not row.outcome.
Examples show decoded SDK values. Absent optional fields mean unavailable, not zero. Empty rows is valid.
Commitment to the permitted snapshot and query identity, not a global activity counter.
Behavior
Use this family for a combined account snapshot over HTTP or for WebSocket updates. Each delivered page replaces the previously displayed page; do not add its cash values or append its rows as if they were new events. The page can be only part of the snapshot. Usenext to retrieve further rows under the same revision. Position rows omit the optional valuation and leverage fields available through positions.
Several changes may be represented by one newer snapshot. To inspect intervening events, read the relevant retained operation, fill, funding or movement history.