getEpochSchedule – Solana
The getEpochSchedule JSON-RPC method retrieves the epoch schedule information from the Solana cluster's genesis configuration.
Supported Networks
Parameters
Request Example
API Endpoints
https://go.getblock.io/<ACCESS-TOKEN>/cURL Example
curl --location "https://go.getblock.io/<ACCESS-TOKEN>/" -XPOST \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getEpochSchedule"
}'Response
Example Response
Error Handling
Example Error Response
Use Cases
Code Example – Web3 getEpochSchedule Integration
Integration with Web3
Last updated
Was this helpful?