getnetworkhashps

Returns the estimated network hashes per second based on the last n blocks. Pass in nblocks to override the default number of blocks, or -1 to get the value since the last difficulty change.

Path Parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
nblocksintegerOptionalDefaults to 120

The number of blocks to use for the calculation. Default is 120. Use -1 to calculate since last difficulty change.

heightintegerOptionalDefaults to -1

To estimate at the time of the given height. Default is -1 (current tip).

Response

Hashes per second estimated.