playground

The world is a playground.

Web3.js で現在のハッシュレートを確認

  • web3.eth.getHashrate を使用します。

サンプルコード

web3.eth.getHashrate()
.then(console.log);
// => 1234

Reference