What would be the best way to explore the blockchain content of the testing network? Ideally, is there a way to adapt https://live.ether.camp to track the local network? Alternatively, what could one use to inspect contents of the blockchain?


1 Answer 1


With Web3.js, you can get chainblock content by command of eth.getBlock(eth.blockNumber), and access every attribute,

currentBlock = eth.getBlock(eth.blockNumber);
  • I am still a newbie, can you give me some more context please: where could I use the code you suggest? (or how to connect it to the blockchain). currently I am using truffle and its testing mechanism to experiment
    – kruk
    Aug 9, 2017 at 16:22
  • please execute command web3.eth.getBlock(0) in truffle console, and web3.eth.getBlock(0).attribute will return attribute value. Aug 10, 2017 at 1:13
  • great! The feature of live.ether.camp that I am missing is inspecting what the transactions contain (is it contract creation; is it ether transfer, what exactly is transferred...) - but now I have a good place to start. If you know the place where this is explained, let me know
    – kruk
    Aug 10, 2017 at 16:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.