Sub topic 3
Confirmations and finality
This chapter assumes you know what a block is, can read a transaction hash, and have used a block explorer.
Confirmations and finality
A confirmation is one more block added on top of the block that contains your transaction. A transaction in block 100 has one confirmation while block 100 is the newest block, and two once block 101 exists. Finality is the point where a transaction is effectively impossible to reverse. Some networks reach finality quickly through their consensus rules. Others only become more certain with each block, so the confirmations you need depend on the network and the amount at stake.
Receiving funds and checking that they arrived
Check three things before you treat a payment as received:
- The transaction hash appears on the correct network in a block explorer.
- The recipient address matches yours exactly.
- The asset and amount match what you expected.
A balance that appears in a wallet is not proof of finality. Wait for the confirmation count your platform requires.
Pending, stuck and failed transactions
A pending transaction is submitted but not yet included in a block. A stuck transaction usually has a fee too low for current demand, or a nonce gap. A nonce is the sequence number that orders transactions from one account. A failed transaction is included in a block but reverts, and you still pay the gas. To unstick a pending transaction, wait, or send a replacement with the same nonce and a higher fee.
Common mistakes and why transfers are irreversible
No network operator or support desk can reverse a finalized transfer, because no one can rewrite a finalized block. Common mistakes include:
- Sending to the wrong network. An address can look valid on several chains, and funds sent to the wrong chain may be lost.
- Sending a token to a contract address instead of a wallet.
- Trusting a message that says "send first, we will refund you."
Wallet security practices
Your seed phrase and private key control your funds. Store them offline, never type them into a website, and never share them with anyone who asks, including support staff. Use a hardware wallet for large balances, and verify each transaction on the device screen. Confirm the site URL before you connect a wallet.
Exercise
Exercise
A payment was included in block 500, and the current block is 502. How many confirmations does it have? Is that enough on a network that requires six?
Show answer
It has three confirmations (blocks 500, 501 and 502). That is not enough for six. Wait until the chain reaches block 505, which gives 505 - 500 + 1 = 6 confirmations.