How a crypto transaction works, step by step
What happens between pressing "send" and a payment being final. You'll follow one transaction through every step and learn why fees exist.
Helpful background: Public keys, private keys & signatures
Why this matters
Crypto payments don't work like card payments. There's no bank approving them, and most can't be undone. Knowing the steps helps you understand why a payment shows as "pending", why fees change and when a payment is safe to treat as final.
The core idea: sending a letter by public mail
Think of a transaction as a sealed, signed letter. You write it and sign it, then drop it in a public mailbox. Carriers pass copies around until one of them adds it to the official logbook. Each new page added on top makes that entry harder to remove.
The six steps
- Create. Your wallet builds the transaction: who receives it, how much and what fee to pay.
- Sign. Your wallet signs it with your private key. See our lesson on keys and signatures.
- Broadcast. Your wallet sends it to nodes, which check that it's valid and pass it along.
- Wait in the mempool. Valid transactions that aren't yet in a block wait here. Each node keeps its own version of this waiting area.
- Join a block. A miner or validator picks transactions and adds them to a block. Blocks have limited space, so higher fees usually get picked first.
- Collect confirmations. The first block containing your transaction counts as one confirmation. Each later block adds another.
How confirmations and finality work
Bitcoin's design aims for one new block about every 10 minutes on average. The actual gap varies a lot, and many services wait for several confirmations before treating a large payment as settled. Six is a common rule of thumb, which takes about an hour on average.
Ethereum creates blocks every several seconds and uses a process called finality, in which validators formally lock in earlier blocks within minutes. Reversing a finalized block would cost an attacker an enormous amount. Other networks use different timings, so check the documentation for the network you're using.
A worked example: the fee
Fees depend on how much block space a transaction uses, not on how much money it moves. On Bitcoin, wallets usually measure this in satoshis per virtual byte (sat/vB). One satoshi is 0.00000001 BTC.
- Ana's transaction is 140 virtual bytes.
- She pays a fee rate of 5 sat/vB.
- The fee is 140 × 5 = 700 satoshis, or 0.000007 BTC.
The fee would be the same if she were sending 0.01 BTC or 10 BTC, as long as the transaction size stayed the same. These numbers are only an illustration, since real fee rates rise and fall with demand. Ethereum works differently. It charges for gas, a measure of computing work.
Risks and common mistakes
- Wrong address: a confirmed payment to the wrong address usually can't be recovered.
- Wrong network: the same-looking address can exist on several networks. Sending on the wrong one can make funds hard or impossible to reach.
- Low fees: a transaction with a very low fee can stay pending for a long time, especially when the network is busy.
- Trusting "pending": an unconfirmed transaction isn't final. Don't hand over anything valuable based on it.
Safety tip
- A transaction is created, signed, broadcast, held in a mempool, added to a block and then confirmed.
- Bitcoin fees depend mainly on transaction size in bytes, not on the amount sent.
- Each additional confirmation makes a transaction harder to reverse.
- Confirmed payments usually can't be reversed, so check details before signing.
Check your understanding
1. What is the mempool?
A waiting area for valid transactions that haven't yet been added to a block. Each node keeps its own version.
2. A 200 vB transaction pays 10 sat/vB. What is the fee?
200 × 10 = 2,000 satoshis, which is 0.00002 BTC.
3. Why do services wait for several confirmations on a large payment?
Each new block on top makes it harder to rewrite history. Waiting reduces the risk that the payment gets reversed by a chain reorganization.
4. Does sending more coins on Bitcoin always cost a higher fee?
No. The fee depends on how much block space the transaction uses, not on the value it moves.
Further reading
- Transactions (Bitcoin developer guide)
- Block chain (Bitcoin developer guide)
- Transactions (ethereum.org developer docs)
- Gas and fees (ethereum.org developer docs)
- Bitcoin: A Peer-to-Peer Electronic Cash System (Satoshi Nakamoto, 2008)
Keep learning
Part of the Crypto Foundations track, lesson 5 of 9.
Educational content only. This lesson explains how a technology works. It isn't financial, investment or legal advice. Cryptocurrencies are volatile and risky. Always do your own research.