@somnia-chain/markets-sdk


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

Interface: GetBookTopsOnchainOptions

Defined in: packages/sdk/src/orders.ts:552

Options for one chain-sourced top-of-book batch read.

Properties

blockNumber?

optional blockNumber?: bigint

Defined in: packages/sdk/src/orders.ts:558

Read at this exact block instead of pinning the current head. Every pool in the call quotes the SAME block either way — that pin, not the batching, is what makes the tops of N markets comparable to each other.