Hello! Welcome back to your course on blockchain development.
In our last lesson, you successfully acquired test ETH and sent your first transaction on the Sepolia public testnet. This was a crucial step in moving from a theoretical understanding to practical application. Every action on the blockchain, like the transfer you just made, is recorded immutably. But how do we see and verify that record?
This is where a block explorer comes in. Think of it as a powerful, read-only window into the blockchain's entire history. For anyone with a background in data warehousing and business intelligence, you can conceptualize a block explorer as the ultimate public-facing reporting tool for the world's most transparent database.
Today, you will learn how to use Etherscan, the most popular block explorer for Ethereum, to find and inspect the transaction you sent. By the end of this lesson, you will be able to dissect a transaction into its core components: sender, receiver, value, and the gas fees that made it all happen.
1. Finding Your Transaction on Etherscan
Every transaction on the blockchain is identified by a unique transaction hash (TxHash). This is its permanent receipt. Your first step is to find the hash of the transaction you sent in the previous lesson.
- Open your MetaMask wallet.
- Click on the Activity tab.
- Find the "Send" transaction you made. Click on it.
- You'll see an option like "View on block explorer". Click this, and it will open a new browser tab directly to your transaction on
sepolia.etherscan.io.
Alternatively, you can copy the Transaction Hash from MetaMask, navigate to sepolia.etherscan.io, and paste the hash into the main search bar.
You should now be looking at a page full of data related to your transaction. Let's learn how to read it.
2. A Guided Tour of the Transaction Page
The Etherscan interface can seem dense, but it's logically structured. We'll start with a video that walks through the key fields for a simple transaction, similar to the one you just performed.
How to use Etherscan - Full Guide
This video from the Quicknode YouTube channel provides a clear tour of a transaction page on Etherscan, explaining the most important fields.
Watch the segment from 02:52 to 05:54. The video analyzes a sample transaction. As you watch, try to locate the same fields on your own transaction page. Pay close attention to the explanation of: Transaction Hash, Status, Block, Timestamp, From/To addresses, Value, Transaction Fee, and Gas Price.
3. Deconstructing the Details: A Line-by-Line Breakdown
The video gave you a solid visual overview. Now, let's systematically break down each component, using your own transaction as the reference point. This process is much like drilling down into a specific record in a database to understand its attributes.
The following resource provides an excellent, structured explanation of each field. While it uses Blockscout, a different block explorer, the concepts and field names are nearly identical to what you see on Etherscan.
How to Read a Blockchain Transaction: Block Explorer Guide
To reinforce what you saw in the video, this article provides clear, line-by-line definitions for each part of a simple transaction.
Read the section titled 'Line-by-Line Transaction Reading'. As you read the definition for each field (Transaction Hash, Status, Block, From, To, etc.), find the corresponding value on your Etherscan page.
Based on these resources, let's summarize the essential components of your transaction.
Key Transaction Components
- Transaction Hash: The unique
0x...string that serves as the global identifier for your transaction. - Status: Should show "Success", confirming that your transaction was validated and included in a block.
- Block: The number of the block that your transaction was recorded in. The Block Confirmations count shows how many new blocks have been added to the chain after yours, a measure of the transaction's finality and security.
- Timestamp: The exact date and time your transaction was confirmed.
- From: The address of your account that sent the ETH.
- To: The address of your account that received the ETH.
- Value: The amount of ETH you transferred. This is often accompanied by its approximate value in USD at the time of the transaction.
- Transaction Fee: The total cost you paid to the network to process the transaction. This is a critical concept we'll explore next.
Understanding Gas: The Cost of Computation
In your work with databases, executing a complex query consumes server resources (CPU, I/O). Similarly, on Ethereum, every operation consumes computational resources. Gas is the unit used to measure this work.
The transaction fee is calculated based on two elements:
- Gas Used by Transaction: The actual amount of computational work required. A simple ETH transfer like yours always consumes a fixed amount: 21,000 gas.
- Gas Price: The price you paid per unit of gas, denominated in Gwei (1 Gwei = ETH).
Therefore, the formula is simple:
On the Etherscan page, you will also see a Gas Limit. This is the maximum amount of gas you were willing to let the transaction consume. It acts as a safety measure. If the actual gas used is less than the limit, the remainder is refunded to you.
4. A Glimpse into Smart Contract Interactions
Your transaction was a simple transfer between two externally owned accounts (EOAs). However, the real power of blockchain lies in interacting with smart contracts. These transactions look slightly different on a block explorer.

We won't dive deep into this today, but it's important to see how the block explorer adapts to show these more complex interactions. You will soon be building and interacting with contracts that generate transaction pages just like this one.
Conclusion
Congratulations! You have now mastered a fundamental skill for any blockchain developer or analyst: reading and interpreting on-chain data directly from the source of truth. This ability to independently verify what happened is a cornerstone of the transparency that blockchains provide.
In this lesson, you learned to:
- Locate a transaction on a block explorer using its hash.
- Identify the key components of a transaction: sender (
From), receiver (To),Value, andStatus. - Understand how the transaction fee is calculated from the
Gas UsedandGas Price. - Distinguish visually between a simple ETH transfer and a smart contract interaction.
In our next lesson, we will shift our focus back to the local development environment. You'll get your hands on the Hardhat command-line interface (CLI) to compile a smart contract and test its functions, setting the stage for writing your own Solidity code.