eth_mining
Returns true if client is actively mining new blocks
web3.eth.isMining([callback])
Returns
true
if the node is mining, otherwise false
Example
> web3.eth.isMining().then(console.log)
> true
Last updated
Returns true if client is actively mining new blocks
web3.eth.isMining([callback])
true
if the node is mining, otherwise false
> web3.eth.isMining().then(console.log)
> true
Last updated