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

Please note that QuickNode will always return a 0x0 mining hash rate

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.matic.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