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

EDUCoin - ERC20 Tocken by Dr B P Sharma

Creating sample Blockchain using Python, Flask and Postman