Skip to main content
GET
xo-orderbook-client-rs

Query Parameters

token_id
string
required

Response

OK

market
string
required

conditionId

asset_id
string
required

Decimal U256 token id

asks
object[]
required

Sorted ascending by price (best ask first).

bids
object[]
required

Sorted descending by price (best bid first).

hash
string
required

keccak256 of {bids ++ asks ++ timestamp}; bumps on every book change.

timestamp
string
required

Unix milliseconds, stringified (TimestampMilliSeconds)

tick_size
string
required
Example:

"0.001"

min_order_size
string
required

Minimum order size in human shares (decimal-string integer). Returns "0" when the gateway has no MarketInfo for the token yet (e.g. very fresh markets) — populated once engine MarketInfo arrives.

neg_risk
boolean
required

Always false on XO.

last_trade_price
string
required

Trimmed decimal; "0.000" if no trades have ever printed on this token.