Summary 

In this chapter, we built an amazing user interface to explore the blockchain that we have built in this book so far. We started by defining the necessary endpoints for querying the required data. Then we built methods such as getBlock, getTransactionand getAddressData to help the endpoints to query the data. Furthermore, we developed the /block/:blockHash/transaction/:transactionId, and /address/:address endpoints. After doing this, we added the block explorer's frontend code to our blockchain directory and then tested the block explorer and all the endpoints that we developed. 

With this chapter, we have reached the end of this book. By this point, we have built our very own blockchain and added all the necessary functionalities ...

Get Learn Blockchain Programming with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.