playground

The world is a playground.

2018-05-26から1日間の記事一覧

Ethereum ブロックチェーンの現在のブロック高を取得

const Web3 = require('Web3'); var web3 = new Web3('https://mainnet.infura.io'); web3.eth.getBlockNumber() .then(console.log);