Last updated
Was this helpful?
Was this helpful?
// Result
{
"jsonrpc": "2.0",
"result": {
"138KHwTqKNWGLoo8fK5i8UxYtwoC5tC8o7M9rY1CDEjT": [
120416,
120417,
120418,
120419,
195840,
195841,
195842,
195843,
...
],
"13cm6z7ajighVFYN1aR2hPQ3Rhp4QJenDbHGRmps9P1n": [
213272,
213273,
...
],
...
]
},
"id": 1
}curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getLeaderSchedule"}'
curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getLeaderSchedule"}'