@somnia-chain/markets-sdk


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

Function: intervalsPerWindow()

intervalsPerWindow(fundingWindowSec, fundingIntervalSec): number

Defined in: packages/sdk/src/funding.ts:100

Intervals per calculation window — n. Both the per-interval divisor and the cap on how much a single lazily-settled emit can accrue.

Parameters

fundingWindowSec

number

fundingIntervalSec

number

Returns

number