post https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b/
Solana getSlotLeader
method
getSlotLeader
methodThe Solana getSlotLeader
method returns the current slot leader.
This method provides the public key of the current slot leader, which is the validator responsible for producing blocks in the current slot. It is useful for tracking which validator is currently producing blocks.
Get you own node endpoint today
Start 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
This method does not require any parameters.
Response
value
— the public key of the current slot leader.
Use case
A practical use case for getSlotLeader
is to track which validator is currently producing blocks. This can be useful for network monitoring tools or other applications that need to display or make use of this information.
Try the getSlotLeader
RPC method yourself
getSlotLeader
RPC method yourself