Skip to main content

eth_hashrate

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

Params

(0)

Result

(Mining status)
string
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$

Request

await window.ethereum.request({
"method": "eth_hashrate",
"params": []
});