@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / YesBookTop

Interface: YesBookTop

Defined in: packages/sdk/src/units.ts:132

Best YES bid/ask of a binary book (raw quote units), for marking a position. Either side may be absent on a one-sided book. Feed it the top level of getBinaryOrderBook / getLiveBinaryOrderBook.

Properties

bestBid?

optional bestBid?: bigint

Defined in: packages/sdk/src/units.ts:134

Best resting YES bid (raw), if any.


bestAsk?

optional bestAsk?: bigint

Defined in: packages/sdk/src/units.ts:136

Best resting YES ask (raw), if any.