What is a Transaction Hash (Txn hash)?
A transaction hash (Txn Hash), or also known as a transaction ID, is given whenever a transaction is initiated on the Ethereum Blockchain.
On Etherscan.io, enter the transaction Hash in the search bar at the top right hand corner and click search.
The details of the transaction will display as below if the transaction hash entered is valid.
- A Txn Hash or transaction hash is a unique identifier that is generated whenever a transaction is performed. A Txn Hash can be used to track and trace the status of a transaction.
- Success - Transaction was successfully sent.
- Failed - Transaction did not go through, the transaction amount will be refunded after the gas fee is deducted. Your transaction may have failed due to one or more of the following reasons: Out of Gas, Bad Instruction, Cancelled, ERC-20 token transfer might have failed
- Block is the number of the block in which this transaction was recorded. Block height is numbered sequentially (0, 1, 2, 3, 4, 5 and so on) beginning from the very first block (block height 0) onwards.
- The number of block confirmations is the number of blocks that have been mined and verified by the Ethereum network since the block height of this transaction. The greater the number of block confirmations, the more secure the transaction is considered to be.
- Duration of time since the transaction was recorded, and exact date and time when the transaction was recorded.
- Sender’s address.
- Receiving address/contract.
- If the transaction has failed, further details will be displayed here.
- The value of this transaction.
- The actual cost of the transaction (Gas Used by Txn multiplied by Gas Price). Measured in ETH. This fee is paid to the miner for computing the transaction, regardless of whether the transaction is successful or not.
- The maximum units of gas that may be used for this transaction.
Gas Used by Txn:
- The exact units of gas that was used for this transaction.
- Cost per unit of gas specified for this transaction, in Ether and Gwei.
- Number of the transaction sent from the sender’s address. Every transaction from an address is numbered sequentially, beginning with 0 for the first transaction. For example, if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender’s address.
- Extra data recorded by the sender or contract.