eth_hashrate - Celo
eth_hashrate. Returns the current mining hashrate of the network
eth_hashrate - celo [Value: 0CU]
Retrieves the number of hashes per second that the node is mining with
Use cases
- Monitor mining performance of the node
- Track hashrate to evaluate node's mining capability
- Assess node's computational power for blockchain validation
Constraints
- Requires node to be actively mining
- Accurate hashrate data depends on node's current state
- Continuous connection needed for real-time monitoring
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://celo.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_hashrate","params":[],"id":67}'
'
Response
200
{
"jsonrpc": "2.0",
"id": 67,
"result": "0x2540be400"
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
The number of hashes per second that the node is currently mining at, returned as a hexadecimal string.Response params
object
idinteger
jsonrpcstring
resultstring