Skip to main content

eth_hashrate

Overview

The "eth_hashrate" method returns the number of hashes per second that the node is mining with. Only applicable when the node is mining.

Request

curl --request POST \
--url https://ethereum-mainnet-geth-archive.node.coinapi.io \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'X-CoinAPI-Key: 73034021-THIS-IS-SAMPLE-KEY' \
--data '

{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_hashrate"
}'

Request Parameters

Response


{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32601,
"message": ""
}
}