@somnia-chain/markets-sdk / react / useLivePriceTicks
Function: useLivePriceTicks()
useLivePriceTicks(
asset,limit?):PricePoint[]
Defined in: packages/sdk/src/hooks.ts:828
The live tick tape of one asset, newest first. Watches the feed while mounted.
Background acquisition failures use the configured debug/console warning channel. Use the corresponding useWatchMarketResult/useWatchUserResult/useWatchPriceResult hook for inline error UI.
Parameters
asset
string | undefined
limit?
number = 100
Returns
Throws
No Markets provider is mounted.