@somnia-chain/markets-sdk / index / annualizedFundingRate
Function: annualizedFundingRate()
annualizedFundingRate(
rate,fundingWindowSec):number
Defined in: packages/sdk/src/funding.ts:122
Annualized funding rate as a JS number fraction (0.01 = 1% APR).
Returns a number deliberately, unlike its siblings: APR is a display quantity, and
at an 8h window this is roughly rate x 1095, so the 1e18 scale carries far more
precision than any axis label needs. Never round-trip a settlement amount through it.
Parameters
rate
bigint
fundingWindowSec
number
Returns
number