getSlotLeaders
Solana node API
getSlotLeaders | Solana
The Solana getSlotLeaders method returns the slot leaders for a given slot range. Available on Solana via Chainstack JSON-RPC nodes.
POST
getSlotLeaders
The SolanaDocumentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
getSlotLeaders method returns the slot leaders for a given slot range.
Each slot on Solana has a designated leader validator responsible for producing the block. This method returns the ordered list of validator identities assigned to produce blocks in the requested range.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
startSlot(integer, required) — the start slot.limit(integer, required) — the number of slot leaders to return (1–5000).
Response
result(array of strings) — an array of node identity public keys as base58 encoded strings, in order of the slot leaders for each slot in the requested range.
Use case
A common use case forgetSlotLeaders is in transaction landing optimization. By knowing which validator is the upcoming leader, you can route transactions directly to that validator’s TPU port for faster inclusion. This is especially useful in latency-sensitive applications like trading bots and arbitrage.Last modified on May 18, 2026