Skip to main content
Carrier: POST /v1/exchange (encrypted binary). Read family: markets · Permission: owner or current READ agent. Market units, order modes and leverage caps. 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 supplies id, current epoch and authentication expiresAt, as shown in the example.
"read"
required
Read-command discriminator.
"markets"
required
Selects this account-data family.
number
required
Integer from 1 to 64 rows. The example requests 32.
Uint8Array (40 bytes)
Omit or use all-zero bytes to start. For another page, use the prior page’s next under the same snapshot revision.

Response fields

Examples show decoded SDK values. Absent optional fields mean unavailable, not zero. Empty rows is valid.
"page"
required
Paged-response discriminator.
"markets"
required
The requested family.
Uint8Array (32 bytes)
required
Commitment to the permitted snapshot and query identity, not a global activity counter.
Uint8Array (40 bytes)
required
Next cursor; all-zero means no more retained rows.
bigint (u64)
required
Cinder evaluation time, in milliseconds.
ReadRow[]
required
At most the requested limit.

Behavior

Use the returned market ID in order and leverage commands. precision and quotePrecision identify unit versions, not decimal counts. Conversion is lots × ticks × numerator / denominator in quote atoms, subject to the market’s exactness rules. Asset labels, token decimals and display formatting must come from your integration configuration; they are not fields in this response. These rows do not supply live prices, candles or orderbook depth. A supported order mode does not guarantee an order will pass account permissions, margin or current risk checks. An absent leverageCap is unavailable information, not permission to select unlimited leverage.

Paging and errors

See paging for cursors, revisions and missing values, and errors for response codes. Reconnect and fetch a new snapshot after a subscription closes.