getEpochSchedule RPC Method

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

Request
$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getEpochSchedule"
> }
> '

params

None

result

Response
{
"jsonrpc": "2.0",
"result": {
"firstNormalEpoch": 8,
"firstNormalSlot": 8160,
"leaderScheduleSlotOffset": 8192,
"slotsPerEpoch": 8192,
"warmup": true
},
"id": 1
}
object

The result field will be an object with the following fields:

Is this page helpful?