get Epoch Schedule
Returns the cluster's epoch-length parameters.
getEpochSchedule returns the fixed parameters for how slots group into epochs: slots per epoch, whether the cluster is in its initial warmup period, and the first epoch/slot where normal-length epochs began. These are set at genesis and do not change, unlike the live numbers in getEpochInfo.
A single call supports converting between absolute slot numbers and epoch/epoch-relative-slot pairs locally, instead of calling getEpochInfo repeatedly.
Parameters
This method takes no parameters.
Result
The cluster's epoch schedule parameters.
Show propertiesProperties
Number of slots in a normal (post-warmup) epoch.
Number of slots before an epoch boundary that its leader schedule is computed.
Whether epochs start short and grow geometrically toward slotsPerEpoch (true only very early in a fresh cluster's life).
First epoch with the full slotsPerEpoch length.
First absolute slot belonging to firstNormalEpoch.
Notes
- On mainnet-beta,
warmup: falseandfirstNormalEpoch: 0mean every epoch has always been the full 432,000 slots.