@somnia-chain/markets-sdk


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

Function: usePoolSeedStatus()

usePoolSeedStatus(pool, options?): PoolSeedStatus | null

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

The seed provenance for one watched pool, or null before that pool has seeded. A chain-seeded binary book can be available while fillsLoaded remains false: the chain seed does not load indexer fill history. Use the provider's chainSeedPools policy to select binary pools; that policy requires addresses.binaryModule on the selected chain's client.

Parameters

pool

string | undefined

options?

HookChainOptions = {}

Returns

PoolSeedStatus | null

Throws

No Markets provider is mounted.