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