Kit
Functions

getSysvarEpochScheduleDecoder

getSysvarEpochScheduleDecoder(): FixedSizeDecoder<Readonly<{ firstNormalEpoch: bigint; firstNormalSlot: bigint; leaderScheduleSlotOffset: bigint; slotsPerEpoch: bigint; warmup: boolean; }>, 33>

Returns a decoder that you can use to decode a byte array representing the EpochSchedule sysvar's account data to a SysvarEpochSchedule.

Returns

FixedSizeDecoder<Readonly<{ firstNormalEpoch: bigint; firstNormalSlot: bigint; leaderScheduleSlotOffset: bigint; slotsPerEpoch: bigint; warmup: boolean; }>, 33>

On this page