# eth\_mining

```
web3.eth.isMining([callback])
```

#### Returns

`true` if the node is mining, otherwise `false`

#### Example

```
> web3.eth.isMining().then(console.log)
> true
```
