New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
English
Returns the epoch schedule information from this cluster’s genesis config.
cURL
curl --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "1", "method": "getEpochSchedule" } '
{ "jsonrpc": "2.0", "id": "1", "result": { "slotsPerEpoch": 8192, "leaderScheduleSlotOffset": 8192, "warmup": true, "firstNormalEpoch": 8, "firstNormalSlot": 8160 } }
Your Helius API key. You can get one for free in the dashboard.
The JSON-RPC protocol version.
2.0
"2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getEpochSchedule
"getEpochSchedule"
Successfully retrieved epoch schedule information.
Identifier matching the request.
Comprehensive timing constants that define the epoch structure of the Solana blockchain.
Show child attributes
Number of slots that constitute a complete Solana epoch during normal operation (after warm-up period).
8192
Offset before an epoch when the validator leader schedule for the next epoch is calculated and published.
Boolean indicating if the network uses a warmup period with gradually increasing epoch lengths at genesis.
true
The first epoch number that reaches full standard length as defined by slotsPerEpoch.
8
The absolute slot number when epochs begin their standard length after the initial warmup period.
8160
Was this page helpful?