getSlotLeader
Returns the current slot leader.
POST Category: slot
Example Request
curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getSlotLeader",
"params": [{ "commitment": "finalized" }]
}'
Example Response
{
"jsonrpc": "2.0",
"result": "ENvAW7JScgYq6o4zKZwewtkzzJgDzb1wAAj18WBIheGg",
"id": 1
}