Skip to main content
POST
Get order books (request body)

请求体

application/json
token_id
string
必填

Token ID (asset ID)

示例:

"0xabc123def456..."

side
enum<string>

Order side (optional, not used for midpoint calculation)

可用选项:
BUY,
SELL
示例:

"BUY"

响应

Successfully retrieved order books

market
string
必填

Market condition ID

示例:

"0x1234567890123456789012345678901234567890"

asset_id
string
必填

Token ID (asset ID)

示例:

"0xabc123def456..."

timestamp
string
必填

Timestamp of the order book snapshot

示例:

"1234567890"

hash
string
必填

Hash of the order book summary

示例:

"a1b2c3d4e5f6..."

bids
object[]
必填

List of bid orders (sorted by price descending)

asks
object[]
必填

List of ask orders (sorted by price ascending)

min_order_size
string
必填

Minimum order size

示例:

"1"

tick_size
string
必填

Minimum price increment (tick size)

示例:

"0.01"

neg_risk
boolean
必填

Whether negative risk is enabled for this market

示例:

false

last_trade_price
string
必填

Last trade price

示例:

"0.45"