@somnia-chain/markets-sdk


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

Type Alias: RouterActionsOptions

RouterActionsOptions = object

Defined in: packages/sdk/src/router.ts:82

Options for SomniaMarketsClient.getRouterActions. All optional.

Properties

market?

optional market?: string

Defined in: packages/sdk/src/router.ts:84

Only actions in this market (bytes32 marketId, case-insensitive).


markets?

optional markets?: readonly string[]

Defined in: packages/sdk/src/router.ts:89

Only actions in ANY of these markets — the batched form of market. Supplying both narrows to the intersection. An empty array matches nothing.


kind?

optional kind?: RouterActionKind

Defined in: packages/sdk/src/router.ts:91

Only this action kind.


limit?

optional limit?: number

Defined in: packages/sdk/src/router.ts:93

Max rows (default 50).


offset?

optional offset?: number

Defined in: packages/sdk/src/router.ts:95

Row offset (default 0).