New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Returns the leader schedule for an epoch.
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getLeaderSchedule",
"params": [
null
]
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": {}
}Documentation Index
Fetch the complete documentation index at: https://helius-auto-translations.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
confirmedfinalizedprocessedThe JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getLeaderSchedule "getLeaderSchedule"
Parameters for the method.
Epoch or slot number to retrieve the leader schedule for. If omitted, returns the schedule for the current epoch.
null
Successfully retrieved the leader schedule.
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getLeaderSchedule",
"params": [
null
]
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": {}
}