How a Crypto Transaction Works: Signing, Mempool, Blocks and Confirmations
Step by step: how a crypto transaction is created, signed with your private key, broadcast, held in the mempool, included in a block and confirmed.
When you press "send" in a crypto wallet, a surprisingly rich sequence of events begins. Understanding it explains why transfers take the time they do, why fees fluctuate, why a transaction can get "stuck", and why a confirmed transaction cannot be undone. This guide follows a transaction from your screen to its permanent place in the blockchain.
Step 1: Building the transaction
Your wallet assembles a message that says, in effect, "move this much value from my address to that address". What exactly goes into it depends on the blockchain:
- Bitcoin transactions list the previous outputs you are spending (inputs) and the new outputs you are creating, one for the recipient and usually one returning change to you. We explain this in Bitcoin UTXO vs Ethereum accounts.
- Ethereum transactions name the recipient address, an amount of ether, optional data (for example, instructions to call a smart contract), a nonce (a counter that numbers your transactions in order), and fee settings.
The fee is not a separate payment. On Bitcoin it is the difference between what inputs bring in and what outputs take out; on Ethereum it is calculated from the gas used and the gas price. See crypto transaction fees.
Step 2: Signing with your private key
Nothing so far proves you are allowed to spend. That is the job of the digital signature. Your wallet uses your private key and the transaction's contents to compute a signature. Anyone can check, using your public key, that the signature is valid for exactly this transaction, but nobody can produce it without the private key. Change a single detail of the transaction, such as the amount, and the signature no longer matches.
Crucially, signing happens locally and your private key never leaves your wallet (or hardware device). What gets sent to the network is the signed transaction, not the key. A hardware wallet shows the details on its own screen so you can confirm what you are signing.
Step 3: Broadcasting to the network
Your wallet sends the signed transaction to one or more nodes, which are computers running the blockchain software. Each node independently checks the rules:
- Is the signature valid?
- Does the sender have enough funds? (On Bitcoin, are the inputs unspent? On Ethereum, is the balance sufficient and the nonce correct?)
- Is the format correct and the fee acceptable?
If it passes, the node accepts it and relays it to its peers, and within seconds it has spread across the network. Invalid transactions are dropped. At this point your wallet usually displays the transaction as "pending" or "unconfirmed". It has a transaction ID (also called a hash), a unique fingerprint you can look up on a block explorer.
Step 4: Waiting in the mempool
Accepted-but-not-yet-recorded transactions wait in each node's mempool (short for "memory pool"), a waiting room of pending transactions. There is no single global mempool; each node keeps its own, though they are usually similar.
The mempool is where the fee market operates. Block space is limited. Miners (on proof-of-work chains like Bitcoin) and validators (on proof-of-stake chains like Ethereum) choose which pending transactions to include, and they generally favour the ones that pay the most per unit of block space. When the network is busy and the mempool is full, low-fee transactions wait. When it is quiet, even low fees get in quickly. If your fee is too low for current conditions, your transaction can sit for a long time; see stuck crypto transactions.
Step 5: Inclusion in a block
Every so often a new block is produced. On Bitcoin, the target is about one block every ten minutes. On Ethereum, a new slot comes every 12 seconds. The block producer picks transactions from its mempool, checks them again, and packages them into the new block. When that block is accepted by the network, your transaction has been included. Your wallet will show 1 confirmation.
Step 6: Confirmations and finality
Each additional block built on top of the one containing your transaction adds a confirmation. More confirmations make it harder and costlier for anyone to rewrite that part of the chain. Occasionally two valid blocks are produced at nearly the same time and the network temporarily splits; one branch wins and the other is discarded (a reorganisation, or "reorg"), and transactions in the discarded block return to the mempool to be included again. That is why recipients, especially exchanges, wait for several confirmations before treating a deposit as final. Details, and how many confirmations are typical, are in crypto transaction confirmations explained.
Proof-of-stake Ethereum also has an explicit notion of finality: after a block has been confirmed by enough validators across a couple of epochs (roughly 13 minutes under normal conditions), reversing it would require a large portion of staked ether to be destroyed.
Why you cannot cancel a confirmed transaction
After inclusion in blocks, reversing a transaction would require rewriting history, which the network is designed to resist. There is no central party who can reverse it for you, which is both a feature and a hazard. The only "undo" is a new transaction sent by the recipient, if they choose to send the funds back. Before sending, check everything: see how to send crypto and wrong-network transfers.
What if the transaction never confirms?
Possible reasons include a fee that is too low, a gap or conflict in nonces on Ethereum, or a replaced transaction. Sometimes the transaction is simply waiting. Sometimes nodes drop it from their mempools after a time limit, and the funds never left your wallet. Read stuck crypto transactions for options.
A quick timeline
| Stage | What happens | Typical status in wallet |
|---|---|---|
| Create & sign | Wallet builds the transaction, signs with your key | Awaiting your approval |
| Broadcast | Nodes check and relay it | Pending / unconfirmed |
| Mempool | Waits for a miner or validator to pick it | Pending |
| In a block | Included in a new block | 1 confirmation |
| More blocks | Each new block adds a confirmation | 2, 3, 6+ confirmations |
| Final | Practically irreversible | Completed |
Why this matters for your taxes and records
The time a transaction is recorded on the ledger can matter for record-keeping. For example, the US IRS says that in an on-chain transaction you receive virtual currency on the date and at the time the transaction is recorded on the distributed ledger. [IRS FAQ, answer 12, accessed 28 Nov 2026] Keeping the transaction ID and timestamps of your transfers makes tax reporting easier everywhere.