The C-Chain (Contract Chain) is the default smart contract blockchain on Avalanche® and enables the creation of any Ethereum-compatible smart contracts. This blockchain is for applications that require total ordering (for faster asset transfers or any other commutative application, use the Exchange Chain). The C-chain implements the Snowman consensus protocol.
Learn more about all Avalanche blockchains here and view the C-chain API docs here.
The C-chain explorer has three main categories:
The Explorer tab is the main view. and it is structured in four categories:
The latest accepted blocks from C-Chain are displayed here. It shows their number, block hash, how many transactions they contain, their age, and the total amount of fees.
To see all blocks, click on the View All Blocks button.
If you click on any specific block, a new window will open up with all the info about it. There can be seen the full range of information, including the parent hash, state root, gas limit, and more.
To see details about the transactions this block includes, simply click on the number of transactions and a page will open up containing their IDs as clickable links.
If you click on any of them, the whole transaction info page will show up.
Look up a specific block
There are two ways to find a block:
By Hash: Enter the block hash in the search bar and press enter. A little window will show up underneath the search bar showing the block as a clickable link. Click on it and the block info window will open up.
By Number: Enter the block number in the search bar and press enter. A little window will show up underneath the search bar showing the block as a clickable link. Click on it and the block info window will open up.
The latest transactions are shown on the main page, along with some general info, like the sender address, the receiver address, and the value sent.
To see all transactions, click on the View All Transactions button.
Here, the method of the transaction is included alongside the previous info from the general view.
Failed transactions will have a red exclamation mark next to their hash/ id.
If you click on any specific transaction, a new window will open up with all the info about it. There can be seen the full range of information, including its status, the amount of gas used, the number of blocks it was included in, and more.
If a transaction implies a contract address, there will be an extra section called Transaction Actions. It will also show the type of tokens used for this transaction.
Every contract address has a little page pictogram next to it.
To see transaction logs, simply click on the Logs tab.
Look up a specific transaction
Enter the transaction hash(id) in the search bar and press enter. A little window will show up underneath the search bar showing the transaction as a clickable link. Click on it and the transaction info window will open up.
Each transaction contains a receiver and sender address.
Or, in case it implies a contract, it will look like the following picture.
To check out an address, just click on it and a page with all info about it will show up.
The Portfolios section shows how many of each type of token the address has.
The Transactions section shows the transaction history of the address. There are options to sort them by transaction type.
Please note that Internal Transactions are transactions that went through a contract.
Look up a specific address
Enter the address in the search bar and press enter. A little window will show up underneath the search bar showing the address as a clickable link. Click on it and the address info window will open up.
A lot of different metrics about C-Chain can be selected here, like transactions per second, total address, gas used, and more. It will show a graph of historical data about the selected category.
The timeframe can be adjusted, ranging from seven days to the maximum, which means the oldest historical data collected.
Please note that a maximum of two metrics can be selected at a time for comparison purposes.
The first section of this tab contains general information about the network with a graph on the right showcasing the transaction count history.
A list of the subnet chains can be seen, with clickable links for each of them which open up a window with a wider range of info.
The validators list can be seen at the bottom of the Details tab. Each validator is clickable, allowing one to easily access more details about it.
For any additional questions, please view our other knowledge base articles or contact a support team member via the chat button. Examples are for illustrative purposes only.