{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: UnifiedFundingRate

Defined in: unified/structs.ts:177

A perp funding-rate snapshot (live chain read; rates are fractions, not %).

Properties

symbol

symbol: string

Defined in: unified/structs.ts:179

The perp's tradable symbol, e.g. "BTC/USDSO:USDSO".


markPrice

markPrice: number

Defined in: unified/structs.ts:181

EMA-smoothed oracle mark price, human quote units.


indexPrice

indexPrice: number

Defined in: unified/structs.ts:183

Oracle index price, human quote units.


fundingRate

fundingRate: number

Defined in: unified/structs.ts:185

Funding rate per settlement window as a plain fraction (0.0001 = 0.01%).


fundingTimestamp?

optional fundingTimestamp?: number

Defined in: unified/structs.ts:187

Oracle timestamp of the index price (ms).


timestamp

timestamp: number

Defined in: unified/structs.ts:189

When this snapshot was read (ms, local clock).


datetime

datetime: string

Defined in: unified/structs.ts:191

ISO-8601 of timestamp.


info

info: unknown

Defined in: unified/structs.ts:193

The native on-chain perp state (raw 1e18/quote-unit bigints).