Skip to main content

getSlotLeaders RPC Method

Returns the slot leaders for a given slot range.

Updated on
Sep 20, 2024

getSlotLeaders RPC Method

Please note that for this RPC method, the array size is limited to 5 for free accounts and 1005 for all paid accounts, including Starters, Growth, and Business plans, subject to the method's maximum array size restrictions.

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