post https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8/
The getnetworkhashps
method estimates the total hashing power of the network based on the last n blocks. It can provide insights into the current or historical network difficulty and security.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
n
(optional): The number of blocks to calculate the average hash rate over. The default is 120 blocks.height
(optional): The block height at which to calculate the hash rate. The default is -1, which calculates the hash rate at the current height.
Response
result
— a number representing the estimated hashes per second for the network based on the specified number of blocks.error
— an object containing an error message if an error occurred, otherwisenull
.id
— an integer representing the ID of the request.
Use case
The getnetworkhashps
method is useful for understanding the overall security and difficulty of the blockchain network. It helps users and analysts gauge the amount of computational power dedicated to mining and maintaining the network.
Try the getnetworkhashps
RPC method yourself
getnetworkhashps
RPC method yourself