eth_hashrate - Ethereum

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

eth_hashrate - ethereum [Value: 0CU]
Returns the number of hashes per second that the node is mining with.
Use cases

Use cases

  • Monitor mining performance of the Ethereum node
  • Track hashrate to evaluate node's mining capability
  • Assess node's computational power for blockchain validation
Constraints

Constraints

  • Requires node to be actively mining
  • Accurate hashrate data depends on node's current state
  • Continuous connection needed for real-time monitoring
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://eth.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_hashrate","params":[],"id":67}'
'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 67,
  "result": "0x2540be400" 
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200

Response params

object
idinteger
jsonrpcstring
resultstring
The number of hashes per second encoded in hexadecimal format.