๐ŸงŠ The internet cash guide โ€” now in 37 posts ยท โšก Paid in Bitcoin Cash only ยท ๐Ÿš€ Ships worldwide from the USA
โ† Back to: One transaction, end to end Deep dive

How Transactions Actually Work

UTXOs, the mempool, and the confirmation flow. The technical model behind every BCH payment.

This deep dive expands on the transaction mechanics mentioned in "One transaction, end to end." It covers the UTXO model, the mempool, zero-conf acceptance, and the confirmation process. This is technical content for developers and the deeply curious.

The UTXO model

BCH does not use account balances. It uses unspent transaction outputs, or UTXOs. Think of a UTXO as a labeled lockbox containing a specific amount of BCH. Each lockbox has a locking script that says who can open it โ€” usually, whoever holds the matching private key.

When you receive BCH, the network creates a new UTXO locked to your address. When you spend BCH, your wallet selects one or more UTXOs you control, unlocks them with your private key, and creates new UTXOs for the recipient and for change.

For example: you want to pay $4. Your wallet finds a $10 UTXO you control. It unlocks that $10 UTXO and creates two new UTXOs: one for $4 locked to the recipient's address, and one for $6 locked back to your address as change. The difference between the total input ($10) and total output ($10) minus the fee (say, $0.001) is what the miner claims.

This model explains several things that confuse newcomers:

  • Why transactions have multiple inputs: If you don't have a single UTXO large enough, your wallet combines several smaller ones.
  • Why change is a real output: The wallet sends the remainder back to you as a new UTXO, not as a deduction from the payment.
  • Why fees depend on size, not amount: The network charges for the bytes the transaction takes up in a block. A $100 payment and a $10,000 payment can cost the same fee if they're the same size.

The mempool

When your wallet broadcasts a transaction, it doesn't go straight into a block. It lands in the mempool โ€” a waiting area where nodes keep valid transactions that haven't been mined yet. Every full node maintains its own mempool.

Transactions in the mempool are visible to the network. A recipient's wallet can see the incoming payment before it's confirmed. This is called zero-conf (zero confirmations). For small in-person purchases, zero-conf is instant and safe. The shop sees the payment, hands over the goods, and the transaction confirms in the next block.

For larger or remote payments, waiting for at least one confirmation (~10 minutes) is the normal safety step. Each confirmation makes the settlement more final.

Miners and blocks

Miners choose transactions from the mempool, usually prioritizing by fee per byte, and assemble them into a block. When a miner finds a valid block, the transactions in that block become part of the chain. That's one confirmation.

Each later block adds another confirmation. After six confirmations, the settlement is considered irreversible for practical purposes (though BCH's large blocks and fast propagation make even one confirmation very reliable for most use cases).

The public ledger

Every transaction is visible on a public block explorer. Anyone can see the inputs, outputs, amounts, fees, and blocks. But the ledger shows addresses, not identities. It's pseudonymous: the addresses are visible, but they're not automatically tied to real names.

Privacy depends on how you use addresses. Modern wallets generate a fresh address for every payment, so your transaction history isn't all linked to one visible identity. But if you reuse addresses or receive payments to publicly visible addresses, your activity becomes more traceable.

Why this matters

The UTXO model is what makes BCH peer-to-peer. There's no central account database. Every transaction is a transfer of control over specific coins, signed by the owner, verified by the network, and recorded on a public chain. That's the foundation of self-custody and censorship resistance.

Understanding UTXOs also helps you use BCH more effectively. You can choose which UTXOs to spend (coin control), manage your privacy by separating funds, and predict transaction fees based on size rather than amount.

For the cryptographic foundation, see The script under every wallet.

We do not provide financial advice.

Bitcoin Cash

Internet cash needs places to spend it.

Every order at stickers.cash is paid in BCH โ€” a cheap, real-world way to move your first coins, practice self-custody, and put a sticker on something you own.

Shop stickers No wallet yet? Selene ยท Paytaca ยท Badger