getEpochSchedule - Solana
getEpochSchedule. Retrieves detailed information about an epoch schedule account on the Solana blockchain
getEpochSchedule - solana [Value: 10CU]
Offers comprehensive information about the epoch schedule
Use cases
- Obtain detailed schedule information for Solana epochs
- Track the timing and duration of Solana epochs
- Evaluate epoch schedules for system performance analysis
Constraints
- Limited to current and upcoming epochs
- Subject to API rate limitations and restrictions
- Potential latency issues when fetching epoch schedules
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request POST \
--url https://solana.drpc.org \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getEpochSchedule"
}
'
Response
200
{
"id": 0,
"jsonrpc": "string",
"result": {
"slotsPerEpoch": 0,
"leaderScheduleSlotOffset": 0,
"warmup": true,
"firstNormalEpoch": 0,
"firstNormalSlot": 0
}
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
Contains various fields related to epoch and slot information.Response params
object
idinteger
jsonrpcstring
resultstring
object
firstNormalEpochinteger
The epoch number when the blockchain first reached a standard epoch length, calculated as log2(slotsPerEpoch) - log2(MINIMUM_SLOTS_PER_EPOCH).
firstNormalSlotinteger
The slot number marking the beginning of the first normal-length epoch, calculated as MINIMUM_SLOTS_PER_EPOCH * (2.pow(firstNormalEpoch) - 1).
leaderScheduleSlotOffsetinteger
The number of slots before an epoch starts for which the leader schedule is calculated.
slotsPerEpochinteger
The maximum number of slots that can exist in an epoch.
warmupboolean
Indicates whether epochs start short and gradually increase in length.