@somnia-chain/markets-sdk / index / UnifiedPrice
Interface: UnifiedPrice
Defined in: unified/structs.ts:123
A realtime price snapshot for one asset (the on-chain EMA oracle feed).
Properties
symbol
symbol:
string
Defined in: unified/structs.ts:125
Asset symbol, e.g. "BTC", "ETH".
price
price:
number
Defined in: unified/structs.ts:127
Latest price, human units.
ema
ema:
number
Defined in: unified/structs.ts:129
Latest EMA (exponential moving average) price, human units.
timestamp
timestamp:
number
Defined in: unified/structs.ts:131
Block timestamp of the latest observation (ms).
datetime
datetime:
string
Defined in: unified/structs.ts:132
info
info:
unknown
Defined in: unified/structs.ts:134
The native LivePrice row (raw 1e18 strings + block metadata).