bitcoind.app
CommandsGuidesContact ↗
Home/Mining/getnetworkhashps
Mining

getnetworkhashps

Returns the estimated network hashes per second.

Parameters

nblocksnumberoptional
Number of blocks to average. Default: 120, -1 = since last difficulty change
heightnumberoptional
Estimate at this height. Default: -1 (current tip)

Returns

numberEstimated hashes per second

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"getnetworkhashps","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

6.12e+20
← Previous
getmininginfo
Next →
prioritisetransaction

More Mining Commands

getblocktemplategetmininginfoprioritisetransactionsubmitblocksubmitheader

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗