curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getEpochSchedule"
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {
"slotsPerEpoch": 123,
"leaderScheduleSlotOffset": 123,
"warmup": true,
"firstNormalEpoch": 123,
"firstNormalSlot": 123
}
}
curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getEpochSchedule"
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {
"slotsPerEpoch": 123,
"leaderScheduleSlotOffset": 123,
"warmup": true,
"firstNormalEpoch": 123,
"firstNormalSlot": 123
}
}
getEpochSchedule
methodgetEpochSchedule
method returns the schedule for epochs in the network.
This method provides detailed information about the schedule for epochs, including the number of slots in each epoch, the number of slots in each warmup period, and more. It is useful for understanding the timing of epochs in the network.
value
— the epoch schedule:
slotsPerEpoch
— the number of slots in each epoch.leaderScheduleSlotOffset
— the number of slots before the start of an epoch to calculate the leader schedule for that epoch.warmup
— whether epochs start short and grow.firstNormalEpoch
— the first epoch with slotsPerEpoch
slots.firstNormalSlot
— the first slot of firstNormalEpoch
.getEpochSchedule
is to understand the timing of epochs in the network. This can be useful for network monitoring tools or other applications that need to display or make use of this information.Epoch schedule details
The response is of type object
.
Was this page helpful?