@somnia-chain/markets-sdk


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

Function: useLiveFills()

useLiveFills(pool, limit?): LiveFill[]

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

Live trade tape for one pool. Watches the pool while mounted.

Background acquisition failures use the configured debug/console warning channel. Use the corresponding useWatchMarketResult/useWatchUserResult/useWatchPriceResult hook for inline error UI.

Parameters

pool

string | undefined

limit?

number = 40

Returns

LiveFill[]

Throws

No Markets provider is mounted.