@somnia-chain/markets-sdk / index / FillsPageOptions
Type Alias: FillsPageOptions
FillsPageOptions =
object
Defined in: packages/sdk/src/fills.ts:119
Scope and bounded continuation for SomniaMarketsClient.getFillsPage — an inclusive block range over one market kind, across every pool of it.
Every field but limit and cursor is required, and that is the point of
the read: the range is what bounds it, and marketType is the leading column
of the index the range is served from, so neither has a safe default.
Properties
marketType
marketType:
MarketType
Defined in: packages/sdk/src/fills.ts:124
Market kind whose pools to read. One index seek covers every pool of that kind, so a caller never enumerates pools to span them.
sinceBlock
sinceBlock:
number|bigint
Defined in: packages/sdk/src/fills.ts:126
First block of the range, inclusive.
toBlock
toBlock:
number|bigint
Defined in: packages/sdk/src/fills.ts:128
Last block of the range, inclusive.
limit?
optionallimit?:number
Defined in: packages/sdk/src/fills.ts:134
Max rows per page (default 500, 1 to 1000). Higher than the account tape's 50 because this read exists to be drained: a range is walked to its end, not browsed a screen at a time.
cursor?
optionalcursor?:string
Defined in: packages/sdk/src/fills.ts:136
Opaque cursor from the preceding page. Omit for the first page of the range.