Skip to main content

eth_hashrate RPC Method

Returns the number of hashes per second that the node is mining with.

Updated on
Nov 2, 2023

eth_hashrate RPC Method

Parameters

This method does not accept any parameters

Returns

hashrate
The number of hashes per second encoded in hexadecimal format
Request
1
curl https://docs-demo.xdai.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_hashrate","params":[],"id":67}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free