@somnia-chain/markets-sdk / index / UnifiedOrderBook
Interface: UnifiedOrderBook
Defined in: unified/structs.ts:79
An L2 book: [price, amount] pairs, best first, human units.
Properties
symbol
symbol:
string
Defined in: unified/structs.ts:84
The tradable symbol this book view addresses (a NO book is the YES book inverted into NO terms).
bids
bids: [
number,number][]
Defined in: unified/structs.ts:86
Buy side, best (highest) bid first.
asks
asks: [
number,number][]
Defined in: unified/structs.ts:88
Sell side, best (lowest) ask first.
timestamp?
optionaltimestamp?:number
Defined in: unified/structs.ts:90
When this view was assembled (ms) — local clock, not a block timestamp.
info?
optionalinfo?:unknown
Defined in: unified/structs.ts:92
The native book (raw bigint levels; YES terms for binary).