@somnia-chain/markets-sdk / react / useWatchPrice
Function: useWatchPrice()
useWatchPrice(
asset):PriceFeedStatus
Defined in: hooks.ts:402
Watch one asset's price feed (e.g. "BTC", "ETH") while mounted
(ref-counted; shared with the price data hooks) and report its watch state.
Parameters
asset
string | undefined