How to get the information of latest block in Ethereum Blockchain?

Attach with the ethereum node using following command

geth attach

Now issue the following command

eth.getBlock('latest')

Comments

Popular posts from this blog

Using Node Version Manager (NVM)

Sample Solidity Smart Constract Code for University Certificates