Getblockstats
NOWNodes API key passed in the api-key header.
Request payload for getblockstats.
JSON-RPC protocol version.
1.0Possible values: Name of the RPC method.
getblockstatsPossible values: Parameters for the method. For getblockstats, this is an array containing a single value – either the block height (integer) or block hash (string).
[855000]Request identifier. The response will echo this value. Can be any string or number.
curltestSuccessful block statistics retrieval.
Object containing getblockstats response details.
JSON-RPC error object or null on success.
JSON-RPC error object. Null when the request succeeds.
{"code":-28,"message":"Service temporarily unavailable"}Request id echoed by the server.
Client-provided request identifier echoed in the response.
curltestClient-provided request identifier echoed in the response.
curltestUnauthorized: 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
Last updated