getSlotLeader – Solana
The getSlotLeader JSON-RPC method retrieves the current slot leader in the Solana blockchain. A slot leader is the validator responsible for producing blocks in the current slot.
Supported Networks
Parameters
Optional Parameters
Result
Request Example
API Endpoints
cURL Example
Response
Example Response
Error Handling
Example Error Response
Use Cases
Code getSlotLeader Example – Web3 Integration
Integration with Web3
Last updated
Was this helpful?