@somnia-chain/markets-sdk / react / useLiveMarkets
Function: useLiveMarkets()
useLiveMarkets():
Market[]
Defined in: packages/sdk/src/hooks.ts:528
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.
Returns
Market[]