@somnia-chain/markets-sdk / index / PriceFeedInfo
Interface: PriceFeedInfo
Defined in: priceFeed/types.ts:129
Feed metadata + current price for one asset — the Feed singleton, parsed.
Properties
asset
asset:
string
Defined in: priceFeed/types.ts:131
Asset key (the pair's base, e.g. BTC), uppercased.
decimals
decimals:
number
Defined in: priceFeed/types.ts:133
Price scale (Feed.decimals — always 18 today; raw values are 10^decimals-scaled).
symbol
symbol:
string|null
Defined in: priceFeed/types.ts:135
The feed's on-chain pair symbol, e.g. BTC/USDT.
base
base:
string|null
Defined in: priceFeed/types.ts:137
Base asset, e.g. BTC.
quote
quote:
string|null
Defined in: priceFeed/types.ts:139
Quote asset, e.g. USDT.
description
description:
string|null
Defined in: priceFeed/types.ts:141
Free-form feed description from the scheduler, or null when unset.
latest
latest:
LivePrice|null
Defined in: priceFeed/types.ts:146
Current price (same value a live watch keeps current), or null if the feed has no observations yet.