getblockstats
POST
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. Available in Bitcoin Core v0.17.0 and later.
Body
application/json
jsonrpcstringrequiredidstringrequiredmethodstringgetblockstatsrequiredparamsArray<integer | string | Array<string>>requiredParameters:
height_or_hash(integer or string) — The block height (integer) or block hash (string).stats(array, optional) — Specific stats to return. If not specified, returns all.
Response
200OK
Block statistics returned successfully
401Unauthorized
Unauthorized
500Internal Server Error
Internal Server Error