@somnia-chain/markets-sdk / index / FundingRateSeries
Type Alias: FundingRateSeries<T>
FundingRateSeries<
T> =object
Defined in: packages/sdk/src/funding.ts:318
Chart-ready funding buckets plus pagination evidence for the requested window.
Details
Buckets are oldest-first and gapless from the first returned real bucket.
truncated reports whether older source rows were omitted by the page limit.
Gotchas
A truncated series can start after the requested from value. Use
firstBucketStart and fetch another page instead of drawing the missing
history as zero funding.
Type Parameters
T
T extends FundingBucketLike = FundingBucketLike
Properties
buckets
buckets:
FundingSeriesBucket<T>[]
Defined in: packages/sdk/src/funding.ts:320
Oldest-first and gapless on the interval grid — chart order.
truncated
truncated:
boolean
Defined in: packages/sdk/src/funding.ts:325
The read hit its limit, so buckets older than firstBucketStart exist and were NOT
returned. Page with offset for the rest.
firstBucketStart
firstBucketStart:
number|null
Defined in: packages/sdk/src/funding.ts:327
First bucketStart present, unix seconds. Above the requested from when truncated.