Skip to main content

getSlotLeaders RPC Method

Returns the slot leaders for a given slot range.

Updated on
Dec 7, 2023

getSlotLeaders RPC Method

Parameters

start_slot
string
REQUIRED
The start slot encoded as u64, 64-bit unsigned integer
limit
string
The limit encoded as u64, 64-bit unsigned integer

Returns

result
The slot leaders for the specified slot range
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","id":1, "method":"getSlotLeaders", "params":[140630426, 10]}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free