eth_hashrate - Ethereum
The eth_hashrate method returns the mining hashrate in hashes per second, reflecting the mining performance of the node. It is part of Ethereum's JSON-RPC Core API and helps monitor network security
Supported Networks
Parameters
Request
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_hashrate",
"params": [],
"id": "getblock.io"
}'
wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{
"jsonrpc": "2.0",
"method": "eth_hashrate",
"params": [],
"id": "getblock.io"
}Response
Response Description
Use Case
Code Example
Last updated
Was this helpful?