HTTP Methods
getSlotLeader
Returns the validator currently producing blocks as Solana’s slot leader, identified by its 32-byte public key — useful for leader-aware transaction routing and validator monitoring.
POST
getSlotLeader
Request Parameters
The commitment level for the request.
confirmedfinalizedprocessed
The minimum slot that the request can be evaluated at.
Authorizations
Body
application/json
The JSON-RPC protocol version.
Available options:
2.0 Example:
"2.0"
A unique identifier for the request.
Example:
"1"
The name of the RPC method to invoke.
Available options:
getSlotLeader Example:
"getSlotLeader"
Optional configuration object.
Response
Successfully retrieved the slot leader.
getSlotLeader