@somnia-chain/markets-sdk / index / getFundingRateHistory
Function: getFundingRateHistory()
getFundingRateHistory(
pool,opts?,indexerUrl):Promise<FundingRateUpdate[]>
Defined in: query.ts:2769
A perp pool's funding-rate history, newest first — paginated. The
append-only counterpart to the overwrite-only PerpMarket.fundingRate.
Parameters
pool
string
opts?
limit?
number
offset?
number
indexerUrl
string
Returns
Promise<FundingRateUpdate[]>