@somnia-chain/markets-sdk / index / PriceFeedInfo
Interface: PriceFeedInfo
Defined in: priceFeed/types.ts:91
Feed metadata + current price for one asset — the Feed singleton, parsed.
Properties
asset
asset:
string
Defined in: priceFeed/types.ts:93
Asset key (the pair's base, e.g. BTC), uppercased.
decimals
decimals:
number
Defined in: priceFeed/types.ts:94
symbol
symbol:
string|null
Defined in: priceFeed/types.ts:96
The feed's on-chain pair symbol, e.g. BTC/USDT.
base
base:
string|null
Defined in: priceFeed/types.ts:98
Base asset, e.g. BTC.
quote
quote:
string|null
Defined in: priceFeed/types.ts:100
Quote asset, e.g. USDT.
description
description:
string|null
Defined in: priceFeed/types.ts:101
latest
latest:
LivePrice|null
Defined in: priceFeed/types.ts:104
Current price (same value a live watch keeps current), or null if the feed has no observations yet.