RPC MethodsHTTPgetEpochSchedule

Epoch

getEpochSchedule

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

Parameters

This method takes no parameters.

Result

object

An object with slotsPerEpoch, leaderScheduleSlotOffset, warmup, firstNormalEpoch, and firstNormalSlot.

Example

Request
JSON
curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getEpochSchedule"
}'
Response
JSON
{
"jsonrpc": "2.0",
"result": {
"firstNormalEpoch": 8,
"firstNormalSlot": 8160,
"leaderScheduleSlotOffset": 8192,
"slotsPerEpoch": 8192,
"warmup": true
},
"id": 1
}