---
name: getnetworkhashps
btcversion: 0.17.0
btcgroup: mining
permalink: en/doc/0.17.0/rpc/mining/getnetworkhashps/
---

getnetworkhashps ( nblocks height )

Returns the estimated network hashes per second based on the last n blocks.
Pass in [blocks] to override # of blocks, -1 specifies since last difficulty change.
Pass in [height] to estimate the network speed at the time when a certain block was found.

Arguments:
1. nblocks     (numeric, optional, default=120) The number of blocks, or -1 for blocks si