For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getblockstats

getblockstats operations.

getblockstats

post

Returns a variety of statistics about the block identified by its height or block hash.

Authorizations
api-keystringRequired

NOWNodes API key passed in the api-key header.

Body

Request payload for getblockstats.

jsonrpcstring · enumRequired

JSON-RPC protocol version.

Example: 1.0Possible values:
methodstring · enumRequired

Name of the RPC method.

Example: getblockstatsPossible values:
paramsinteger[]Optional

Parameters for the method. For getblockstats, this is an array containing a single value – either the block height (integer) or block hash (string).

Example: [855000]
idstringRequired

Request identifier. The response will echo this value. Can be any string or number.

Example: curltest
Responses
200

Successful block statistics retrieval.

application/json

Object containing getblockstats response details.

errorone of · nullableRequired

JSON-RPC error object or null on success.

or
stringOptional

JSON-RPC error object. Null when the request succeeds.

Example: {"code":-28,"message":"Service temporarily unavailable"}
idone of · nullableRequired

Request id echoed by the server.

stringOptional

Client-provided request identifier echoed in the response.

Example: curltest
or
integerOptional

Client-provided request identifier echoed in the response.

Example: curltest
Other propertiesanyOptional
post/

Last updated