getnetworkhashps
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the estimated network hashes per second (hash rate) based on the last nblocks blocks.
This provides an estimate of the total computational power securing the network.
Body
Returns the estimated network hashes per second (hash rate) based on the last nblocks blocks.
This provides an estimate of the total computational power securing the network.
Request payload containing the documented method parameters and client request identifier.
jsonrpcstringrequiredThe JSON-RPC protocol version (always "1.0")
idstringrequiredThe identifier for the request
methodstringgetnetworkhashpsrequiredThe name of the RPC method
paramsArray<integer>requiredOptional parameters:
nblocks(integer) — The number of blocks to average over. Default is 120.height(integer) — Use the block at this height instead of the current tip. Use -1 for the tip.
Response
Hash rate 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