getSysvarEpochScheduleCodec

function getSysvarEpochScheduleCodec(): FixedSizeCodec<
    Readonly<{
        firstNormalEpoch: bigint;
        firstNormalSlot: bigint;
        leaderScheduleSlotOffset: bigint;
        slotsPerEpoch: bigint;
        warmup: boolean;
    }>,
    Readonly<{
        firstNormalEpoch: bigint;
        firstNormalSlot: bigint;
        leaderScheduleSlotOffset: bigint;
        slotsPerEpoch: bigint;
        warmup: boolean;
    }>,
    33
>;

Returns a codec that you can use to encode from or decode to SysvarEpochSchedule

Returns

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

See

On this page