@somnia-chain/markets-sdk


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

Function: fundingRate8h()

fundingRate8h(rate, fundingWindowSec): bigint

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

The rate per 8 hours — the primary presentation axis, matching the convention used by Hyperliquid and Binance.

A no-op while fundingWindowSec is 28800, which it is on every live pool. Use it anyway: it is what keeps a chart correct across a window change.

Parameters

rate

bigint

fundingWindowSec

number

Returns

bigint