getLeaderSchedule
Returns the leader schedule for an epoch, showing which validator is assigned to each slot.
Authorizations
Body
jsonrpcstring · enumRequiredExample:
JSON-RPC protocol version
2.0
Possible values: idone ofRequiredExample:
Request identifier that will be returned in the response
1
stringOptional
numberOptional
methodstring · enumRequiredExample:
The RPC method name
getLeaderSchedule
Possible values: Responses
200
Successful Response
application/json
401
Unauthorized
text/plain
403
Forbidden
text/plain
429
Too Many Requests
text/plain
500
Internal Server Error
text/plain
post
curl -X POST https://public.rpc.solanavibestation.com \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getLeaderSchedule",
"params": [
null,
{
"identity": "B94PGWcxE9iEDov8sZobTkqEY96Yb5gfcsYWSWpQxh6S"
}
]
}'
{
"jsonrpc": "2.0",
"result": {
"B94PGWcxE9iEDov8sZobTkqEY96Yb5gfcsYWSWpQxh6S": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"7K8DVxtNJGnMtUY1CQJT5jcs8sFGSZTDiG7kowvFpECh": [
16,
17,
18,
19,
20,
21,
22,
23
],
"GE6atKoWiQ2pt3zL7N13pjNHjdLVys8LinG8qeJLcAuS": [
24,
25,
26,
27,
28,
29,
30,
31
]
},
"id": 1
}
Last updated