FN 103 - Block Explorers

Block explorers are an essential tool for DeFi users that are present on every blockchain. This course will cover the following:

  • Defining Block Explorers

  • Listing Popular Block Explorers

  • Block Explorer Functionality

Suggested Prior Reading:

FN 101 - Decentralized FinanceFN 102 - Wallets

Introduction

Block explorers provide a way to view information on the blockchain in a simple and efficient manner. This information includes wallet balances, transaction history, smart contract information and much more. When first starting to use a chain, it is essential to find a block explorer to keep track of your transactions and interact with smart contracts if necessary.

Block Explorers

The Avalanche C-Chain has two main block explorers:

All smart contract / DeFi-related transactions take place on Avalanche's C-Chain (Contract Chain). The links above are for this chain. The X-Chain and P-Chain have their own explorers.

Both explorers provide the same type of information, but have differing visuals and sometimes have more or less information regarding any specific smart contract. SnowTrace is the newest addition to the Avalanche ecosystem, made by the same creators of EtherScan and it's other chain alternatives (BscScan, PolygonScan, FtmScan, etc.).

Other blockchains also have their own block explorers. The most popular ones are linked below:

Block Explorer Utilities

The primary and probably most important utility of a block explorer is the ability to see your transaction history. Let's take a look at a random wallet address on Avalanche for example:

If we search for this wallet address on the block explorer, it gives us a lot of information regarding its balance and transaction history. It seems to have been transacting some DAI.e, USDT.e and JOE lately. If you're wondering how it's possible to access anyone's transaction history through a block explorer, it's because everything on a blockchain is public. This is why blockchains are often referred to as public ledgers.

Other than viewing wallet addresses, we can also see even more information regarding smart contracts on a block explorer. Let's take a look at Snowball's main governance contract for example:

We can see the entire source code for any smart contract on the block explorer unless the contract has not been verified yet. This allows for a lot more transparency and makes it easier for legitimate projects to stand out amongst the crowd of smart contracts by using well-written, safe and robust code.

Through a block explorer you can also read, and most importantly write, to any verified smart contract.

When writing to a smart contract you can connect your wallet to the page much like any decentralized application, and interact with the smart contract directly. This is important since websites may have unforeseen downtime. If this happens you will always have access to your funds through the contract itself, on the blockchain.

Guides for how to interact with Snowball's smart contracts through a block explorer can be found here.

Closing Thoughts

Block explorers are an amazing tool to have at your disposal. Always make sure to familiarize yourself with the block explorer on whatever chain you are using, and use it to make sure all the contracts you are interacting with are legitimate. As always, don't trust; verify.

Last updated