{s}omniamarkets

@somnia-chain/markets-sdk


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

Type Alias: FundingRateUpdate

FundingRateUpdate = object

Defined in: query.ts:3370

A funding-rate history point (mirror of the indexer FundingRateUpdate entity) — the append-only counterpart to the market row's overwrite-only funding fields.

Properties

id

id: string

Defined in: query.ts:3372

Update id (${pool}_${block}_${logIndex}).


pool

pool: string

Defined in: query.ts:3374

Perp pool (lowercased).


fundingRate

fundingRate: string | null

Defined in: query.ts:3376

Funding rate for the settlement window (1e18-scaled fraction, signed).


cumulativeFundingPerUnit

cumulativeFundingPerUnit: string | null

Defined in: query.ts:3378

Cumulative funding per base unit since inception (1e18-scaled, signed).


indexPrice

indexPrice: string | null

Defined in: query.ts:3380

Oracle index price at the update (raw quote per whole base).


timestamp

timestamp: string

Defined in: query.ts:3382

Timestamp (unix seconds) of the update.