getblockstats
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns a variety of statistics about the block identified by its height or block hash.
Body
Returns a variety of statistics about the block identified by its height or block hash.
Request payload for getblockstats.
jsonrpcstring1.02.0requiredJSON-RPC protocol version.
methodstringgetblockstatsrequiredName of the RPC method.
paramsArray<integer>Parameters for the method. For getblockstats, this is an array containing a single value – either the block height (integer) or block hash (string).
idstringrequiredRequest identifier. The response will echo this value. Can be any string or number.
Response
Successful block statistics retrieval.
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