📅  最后修改于: 2022-03-11 14:58:18.896000             🧑  作者: Mango
代码示例1
const Web3 = require('Web3');
var web3 = new Web3('https://mainnet.infura.io');
web3.eth.getBlockNumber()
.then(console.log);