Last updated 2 months ago
Was this helpful?
Returns the slot leaders for a given slot range.
This method will use 30 .
30
start_slot string Required. The start slot encoded as u64, 64-bit unsigned integer.
start_slot
limit string. The limit encoded as u64, 64-bit unsigned integer.
limit
result The slot leaders for the specified slot range.
result
// Result { "jsonrpc": "2.0", "id": 1, "method": "getSlotLeaders", "params": [ 320163037, 10 ] }
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":"getSlotLeaders", "params":[320163037, 10]}'