Skip to main content

getEpochSchedule RPC Method

Returns epoch schedule information from this cluster's genesis config.

Updated on
Sep 20, 2024

getEpochSchedule RPC Method

Parameters

This method does not accept any parameters

Returns

result
An object with the following fields:
firstNormalEpoch
The first normal-length epoch, log2(slotsPerEpoch) - log2(MINIMUM_SLOTS_PER_EPOCH)
firstNormalSlot
The slot number of the first normal slot. MINIMUM_SLOTS_PER_EPOCH * (2.pow(firstNormalEpoch) - 1)
leaderScheduleSlotOffset
The number of slots before beginning of an epoch to calculate a leader schedule for that epoch
slotsPerEpoch
The maximum number of slots in each epoch
warmup
Whether epochs start short and grow
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","id":1, "method":"getEpochSchedule"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free