{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / PricePoint

Interface: PricePoint

Defined in: priceFeed/types.ts:58

One raw tick — a PricePoint row (one feed tick: the spot median + its EMA mark), parsed. price is the spot index; ema is the EMA-smoothed mark.

Properties

id

id: string

Defined in: priceFeed/types.ts:60

Indexer row id (<txHash>-<symbol>).


asset

asset: string

Defined in: priceFeed/types.ts:61


price

price: number

Defined in: priceFeed/types.ts:62


ema

ema: number

Defined in: priceFeed/types.ts:63


requestId

requestId: string

Defined in: priceFeed/types.ts:67

Somnia-Agents batch request that produced this tick (provenance). One request prices every symbol in the tick, so all of a tick's rows share it. Decimal string (uint256).


blockNumber

blockNumber: number

Defined in: priceFeed/types.ts:68


blockTimestamp

blockTimestamp: number

Defined in: priceFeed/types.ts:69


txHash

txHash: string

Defined in: priceFeed/types.ts:70


raw

raw: object

Defined in: priceFeed/types.ts:71

price

price: string

ema

ema: string