@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / react / UseLiveLiquidationsOptions

Interface: UseLiveLiquidationsOptions

Defined in: packages/sdk/src/hooks.ts:791

Options for useLiveLiquidations: the live-store filters plus the chain filter.

Extends

Properties

chainId?

optional chainId?: number

Defined in: packages/sdk/src/hooks.ts:77

Numeric chain id whose engine answers this hook. Defaults to the primary chain.

Inherited from

HookChainOptions.chainId


pool?

optional pool?: string

Defined in: packages/sdk/src/liveTail.ts:337

Keep only legs on this perp pool. DROPS the account-level legs (AccountLiquidated, ResidualBadDebt, ...), which carry no pool — filter by account for the whole story of one liquidation.

Inherited from

ListLiveLiquidationsOptions.pool


account?

optional account?: string

Defined in: packages/sdk/src/liveTail.ts:339

Keep only legs keyed on this account (the liquidated side, never the counterparty).

Inherited from

ListLiveLiquidationsOptions.account


limit?

optional limit?: number

Defined in: packages/sdk/src/liveTail.ts:341

Newest-first cap. Default 50.

Inherited from

ListLiveLiquidationsOptions.limit