@somnia-chain/markets-sdk


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

Type Alias: FillsPage

FillsPage = object

Defined in: packages/sdk/src/fills.ts:146

One page of a block range, oldest first. Not a coverage guarantee: the range is served from what the indexer has processed, which SomniaMarketsClient.getLatestFillBlock reports.

Properties

fills

fills: OrderFillRow[]

Defined in: packages/sdk/src/fills.ts:152

Fills in this page, ascending by (blockNumber, logIndex). Typed as OrderFillRow so the block position the order and the cursor rest on is required rather than optional.


nextCursor

nextCursor: string | null

Defined in: packages/sdk/src/fills.ts:158

Pass to the next call to continue the SAME range. Present whenever the page is full, so a range ending exactly on a page boundary costs one empty final page. Null means the range is drained, not that the chain is.