getSlotLeaders
Authorizations
AuthorizationstringOptional
Authorization header for API key authentication.
Example:
Authorization: your-api-key-here
Body
jsonrpcstring · enumRequiredExample:
JSON-RPC protocol version
2.0Possible values: idone ofRequiredExample:
Request identifier that will be returned in the response
1stringOptional
numberOptional
methodstring · enumRequiredExample:
The RPC method name
getSlotLeadersPossible values: paramsinteger · int64[] · min: 2 · max: 2RequiredExample:
Method parameters (both required):
- Start slot (u64) - required
- Limit (u64) - required, between 1 and 5,000
[100,10]Responses
200
Successful Response
application/json
RPC response containing slot leaders information
jsonrpcstring · enumRequiredExample:
JSON-RPC protocol version
2.0Possible values: idone ofRequiredExample:
Request identifier matching the original request
1stringOptional
numberOptional
resultstring[]OptionalExample:
Array of node identity public keys as base-58 encoded strings. Each element represents the validator scheduled to be the slot leader for the corresponding slot in the requested range. The array is ordered sequentially, with the first element being the leader for the start slot, the second element for start slot + 1, and so on.
["ChorusmmK7i1AxXeiTtQgQZhQNiXYU84ULeaYF1EH15n","Awes4Tr6TX8JDzEhCZY2QVNimT6iD1zWHzf1vNyGvpLM","DWvDTSh3qfn88UoQTEKRV2JnLt5jtJAVoiCo3ivtMwXP"]401
Unauthorized
text/plain
403
Forbidden
text/plain
429
Too Many Requests
text/plain
500
Internal Server Error
text/plain
post
/Last updated