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
Was this page helpful?