getSlotLeaders

Returns the slot leaders for a given slot range.

This method will use 30 Compute Units.


Parameters

  • start_slot string Required. The start slot encoded as u64, 64-bit unsigned integer.

  • limit string. The limit encoded as u64, 64-bit unsigned integer.

Returns

result The slot leaders for the specified slot range.

// Result
{
	"jsonrpc": "2.0",
	"id": 1,
	"method": "getSlotLeaders",
	"params": [
		320163037,
		10
	]
}
curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","id":1, "method":"getSlotLeaders", "params":[320163037, 10]}'
    

Last updated

Was this helpful?