@somnia-chain/markets-sdk / react / useLiveMarkets
Function: useLiveMarkets()
useLiveMarkets(
options?):Market[]
Defined in: packages/sdk/src/hooks.ts:1184
Every market the live store knows (spot + perp + binary), from the live tail
— synchronous, memoized. Pair with useWatchMarket/watchMarkets to
keep it populated; unlike useMarkets this is the zero-round-trip store
view, not an indexer fetch.
Parameters
options?
HookChainOptions = {}
Returns
Market[]