How to Get the Latest Block Number (Head Block) on Ethereum Blockchain?
The simplest method/function to retrieve the latest block number on ETH aka Ethereum Blockchain is via the following method: const Web3 = require('web3'); const getBlockNumber = async() => { …