@somnia-chain/markets-sdk


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

Interface: GetPerpSideHoldersOptions

Defined in: packages/sdk/src/perp/margin.ts:1079

Options for getPerpSideHolders (the client's getPerpSideHolders method).

Properties

blockNumber?

optional blockNumber?: bigint

Defined in: packages/sdk/src/perp/margin.ts:1084

Pin the enumeration to this block instead of the current head — e.g. the asOfBlock of the other side's call, so both sides describe one state.


pageSize?

optional pageSize?: number

Defined in: packages/sdk/src/perp/margin.ts:1090

Holders fetched per contract call.

Default Value

ts
1000