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

How to import an account to geth?

Why to create a full node?