LoginSignup
1
0

More than 5 years have passed since last update.

Web3 でノードがマイニングしているかどうかを確認

Last updated at Posted at 2018-05-27
  • web3.eth.isMining を使用します。
  • マイニングしていれば true を、それ以外の場合は false を返します。

サンプルコード

web3.eth.isMining()
.then(console.log);
// => true

参考

Note

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0