Get slot leaders
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the slot leaders for a given slot range
Body
Returns the slot leaders for a given slot range
Object containing request fields.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredSolana JSON-RPC method name.
paramsArray<integer | integer>requiredOrdered positional parameters for the Solana JSON-RPC method:
- Start slot for the leader schedule slice.
- Number of consecutive slots to return leaders for.
idintegerrequiredClient request identifier echoed by the server.
Response
Slot leaders response
Bad Request. The Solana JSON-RPC request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or Solana node failed while processing the request.