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