fetchSysvarEpochSchedule
Fetches the EpochSchedule
sysvar account using any RPC that supports the
GetAccountInfoApi.
Parameters
Parameter | Type |
---|---|
rpc | Rpc <GetAccountInfoApi > |
config? | FetchAccountConfig |
Returns
Promise
<Readonly
<{
firstNormalEpoch
: bigint
;
firstNormalSlot
: bigint
;
leaderScheduleSlotOffset
: bigint
;
slotsPerEpoch
: bigint
;
warmup
: boolean
;
}>>