getEpochSchedule RPC Method
Returns the epoch schedule information from this cluster’s genesis config.Result Details
The result field will be an object containing:-
slotsPerEpoch: <u64>- The maximum number of slots in each epoch
- Defines the total slots allocated for a single epoch
-
leaderScheduleSlotOffset: <u64>- Number of slots before the beginning of an epoch used to calculate the leader schedule
- Determines when the leader schedule for an upcoming epoch is computed
-
warmup: <bool>- Indicates whether epochs start short and gradually grow
truemeans the initial epochs have fewer slots before reaching full length
-
firstNormalEpoch: <u64>- The first epoch with a standard (full) number of slots
- Calculated as log2(slotsPerEpoch) - log2(MINIMUM_SLOTS_PER_EPOCH)
-
firstNormalSlot: <u64>- The first slot of the first normal-length epoch
- Calculated as MINIMUM_SLOTS_PER_EPOCH * (2^firstNormalEpoch - 1)