getchaintxstats
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Compute statistics about the total number and rate of transactions in the blockchain. You can optionally specify the number of blocks and a block hash to start from.
Body
Compute statistics about the total number and rate of transactions in the blockchain. You can optionally specify the number of blocks and a block hash to start from.
Request payload containing the documented method parameters and client request identifier.
jsonrpcstringrequiredJSON-RPC protocol version.
idstringrequiredClient-provided request identifier echoed in the response.
methodstringgetchaintxstatsrequiredJSON-RPC method name.
paramsArray<integer | string>requiredParameters:
nblocks(integer, optional) — Number of blocks to average over. Default: 1 month worth (~4320).blockhash(string, optional) — Hash of the block to stop at; defaults to the chain tip.
Response
Chain transaction statistics retrieved successfully
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