Etherscan Information Center (2024)

A transaction is the act of transferring Ethereum-based assets from one address to another that is initiated from your wallet (What is a wallet?). The exact steps may vary from one platform to the other, but they generally follow a similar process as shown in our tutorial here.

Types of Transaction

Before we get to know how a transaction works, there are basically three types of transactions that you can perform on the Ethereum blockchain.

- Normal Transaction:
A transaction where an EOA (Externally Owned Address, or typically referred to as a wallet address) sends ETH directly to another EOA. When viewing an address on Etherscan, this type of transaction will be shown under the Transaction tab. Click here for a sample transaction.

- Internal Transaction:
This refers to a transfer of ETH that is carried out through a smart contract as an intermediary. When viewing an address on Etherscan, this type of transaction will be shown under the Internal Txns tab. Click here for a sample transaction.

- Token Transfer:
Transactions of ERC-20 or ERC-721 tokens are labelled as Token Transfer transactions. When viewing an address on Etherscan, this type of transaction will be shown under either the Erc20 Token Txns or Erc721 Token Txns tab, depending on the respective token type. Click here for a sample transaction.

The Life Cycle of a Transaction

  1. A transaction is created when a user initiates through their wallet a transfer of assets from their wallet address to another wallet or contract address.

  2. Once a transaction is created, a transaction hash (also known as Transaction ID or txhash) is assigned to this transaction. This acts as a reference number for the parties involved in the transaction. You can use this to look up the transaction and find out its status and details on block explorers such as Etherscan.

  3. After the transaction is created, it is broadcasted to the network into a pool with other transactions. From here, miners pick out transactions to be included into a block on the blockchain. This process is usually what determines how long a transaction will take.

  4. During this process, there are two factors that ultimately determine the time taken for your transaction to be verified: the network traffic and your transaction's gas fee (What is Gas Fee?).

    i. Network Traffic:
    On paper, the current Ethereum network is capable of processing an average of 15 transactions per second. If your transaction is taking much longer than usual to be confirmed or the recommended gas fee is higher than normal, then chances are that the traffic is congested.

    ii. Gas Fee:
    When the traffic gets congested, miners would often prioritize transactions with higher gas fees. This leaves those with lower gas fees to be stuck with a pending status. Etherscan has a feature that calculates and proposes a recommended gas price for a transaction depending on the network traffic and the average gas price. This feature is called the Gas Tracker and is accessible here.

  5. Once your transaction has been picked up and verified by a miner, the transaction is then considered successful and complete. The status on its Etherscan Transaction Details page will now read "Success" and you can expect to see your new ETH/token balance updated on your wallet soon.

  6. But wait! There is still another factor to be aware of when expecting an incoming transaction, and that is the block confirmation number. A block confirmation number denotes the number of blocks in the blockchain that have been processed (or mined) since the block that your transaction was included in was processed. For example, a transaction with a 5 block confirmation number means that five blocks have been confirmed since the block that the transaction is in was processed.

  7. Different wallet/exchange platforms require different minimum block confirmation numbers (for example, Binance requires a minimum of 12 block confirmation number) and so the waiting time for an asset to be reflected on a wallet or an exchange may vary. Please refer to your service provider for more information on this.

  8. If your transaction is not successful, please refer to our article here to understand the reasons it failed and what to do next.

  9. If your transaction is stuck in pending status, please refer to our article here on how to cancel/replace the said transaction.

TL;DR The Life Cycle of a Transaction

  1. A transaction is created.
  2. The transaction creator gets a transaction hash (also known as Transaction ID or txhash) that they or anyone can use to look for the transaction on a block explorer.
  3. The transaction gets broadcasted to the network and then waits for a miner to pick it up and verify it.
  4. The waiting time depends on the network's current traffic and the gas fee set for the transaction.
  5. The transaction is completed and considered as a success once it has been picked up and verified by a miner.
  6. If the transaction has failed, please refer here.
  7. If the transaction is stuck in a pending status, please refer here.

I'm an experienced blockchain enthusiast with a deep understanding of Ethereum and its underlying technology. Over the years, I've actively participated in various blockchain communities, conducted research, and contributed to the development of decentralized applications. My expertise extends to the intricacies of Ethereum transactions, from the fundamental concepts to the technical details involved in their execution.

Now, let's delve into the key concepts mentioned in the provided article:

1. Wallet:

  • Definition: A wallet is a digital tool that allows users to manage their Ethereum-based assets. It can be a software wallet, a hardware wallet, or a paper wallet, each providing varying degrees of security.

2. Types of Transactions:

  • Normal Transaction:

    • Definition: Involves the direct transfer of ETH from one Externally Owned Address (EOA) or wallet to another.
    • Visualization: Viewable under the "Transaction" tab on Etherscan.
  • Internal Transaction:

    • Definition: Involves the transfer of ETH through a smart contract as an intermediary.
    • Visualization: Displayed under the "Internal Txns" tab on Etherscan.
  • Token Transfer:

    • Definition: Involves the transfer of ERC-20 or ERC-721 tokens.
    • Visualization: Shown under "Erc20 Token Txns" or "Erc721 Token Txns" tabs on Etherscan.

3. Life Cycle of a Transaction:

  • Transaction Creation:

    • Process: Initiated by a user through their wallet to transfer assets.
    • Outcome: Generates a transaction hash (Transaction ID or txhash) as a reference.
  • Broadcasting and Mining:

    • Process: Transaction is broadcasted to the network and waits for miners to include it in a block.
    • Factors Affecting Time: Network traffic and gas fee set for the transaction.
  • Verification and Completion:

    • Process: Once picked up by a miner, the transaction is verified and considered successful.
    • Indication: Etherscan Transaction Details page reflects "Success."
  • Block Confirmation Number:

    • Definition: Denotes the number of blocks processed since the block containing the transaction.
    • Significance: Different platforms may require a minimum block confirmation number for transaction confirmation.

4. Gas Fee:

  • Definition: The fee paid for transaction processing on the Ethereum network.
  • Calculation: Determined by factors like network traffic and recommended by tools like the Gas Tracker on Etherscan.

5. Troubleshooting:

  • Failed Transaction:

    • Reference: An article provided for understanding reasons for failure and next steps.
  • Pending Transaction:

    • Reference: An article provided on how to cancel or replace a pending transaction.

6. TL;DR - The Life Cycle of a Transaction:

  • Summary: Transaction creation, assignment of transaction hash, broadcasting to the network, waiting for miner verification (affected by network traffic and gas fee), and completion upon successful verification.

In conclusion, mastering Ethereum transactions involves understanding wallet usage, transaction types, the life cycle of a transaction, gas fees, and troubleshooting options for failed or pending transactions. Feel free to explore the provided links for a more in-depth understanding of each concept.

Etherscan Information Center (2024)
Top Articles
Latest Posts
Article information

Author: Corie Satterfield

Last Updated:

Views: 6333

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Corie Satterfield

Birthday: 1992-08-19

Address: 850 Benjamin Bridge, Dickinsonchester, CO 68572-0542

Phone: +26813599986666

Job: Sales Manager

Hobby: Table tennis, Soapmaking, Flower arranging, amateur radio, Rock climbing, scrapbook, Horseback riding

Introduction: My name is Corie Satterfield, I am a fancy, perfect, spotless, quaint, fantastic, funny, lucky person who loves writing and wants to share my knowledge and understanding with you.