Skip to main content

eth_mining

Returns whether the client is actively mining new blocks.

Params

(0)

Result

(Mining status)
boolean

Request

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