Returns whether the client is actively mining new blocks.
await window.ethereum.request({ "method": "eth_mining", "params": []});