@somnia-chain/markets-sdk


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

Interface: FetchOrderBookOptions

Defined in: packages/sdk/src/unified/exchange.ts:85

Options for a unified chain book snapshot.

Properties

limit?

optional limit?: number

Defined in: packages/sdk/src/unified/exchange.ts:87

Maximum levels per side, defaults to 10. The legacy numeric argument still works.


blockNumber?

optional blockNumber?: bigint

Defined in: packages/sdk/src/unified/exchange.ts:89

Pin both sides to this exact block; omitted selects one head.