← Bitcoin Journey Home

BITCOIN EDUCATION — LESSON 6

Bitcoin Transactions: How Money Moves

Bitcoin allows people to send value directly across a global network without needing a traditional bank to approve every payment.

But what actually happens when you press Send in a Bitcoin wallet? Let's follow the journey of a transaction.

1. What is a Bitcoin transaction?

A Bitcoin transaction is a digital instruction that transfers control of bitcoin from existing transaction outputs to new outputs.

In simple terms, it tells the Bitcoin network how much bitcoin should be assigned to new owners or destinations.

Example:

Imagine Alice wants to send Bob 0.01 BTC. Alice uses her wallet to create a transaction that pays 0.01 BTC to Bob's Bitcoin address.

2. How does a wallet create a transaction?

A simplified transaction journey looks like this:

  1. Alice enters Bob's Bitcoin address.
  2. She enters the amount: 0.01 BTC.
  3. Her wallet selects available bitcoin from previous transactions.
  4. The wallet creates a transaction with the payment details and any change returned to Alice.
  5. Alice's wallet uses her private key to digitally sign the transaction.
  6. The signed transaction is ready to be shared with the network.

Important: Private keys

A digital signature proves that the transaction is authorised by someone who controls the required private key. The private key itself is not sent across the Bitcoin network.

3. What is the mempool?

After a wallet broadcasts a transaction, it can reach Bitcoin nodes. Nodes check whether it follows the transaction rules.

Valid transactions that have not yet been included in a block may be held in a waiting area called the mempool.

Think of the mempool like a waiting room. Transactions are waiting for miners to consider including them in a new block.

Different nodes can have different mempool contents. A transaction is not guaranteed to be accepted by every node or included in the next block.

4. How do miners include transactions?

Miners select transactions from their mempool and attempt to include them in a new block.

They compete using Proof of Work. When a miner finds a valid block, it can be broadcast to the network.

Other nodes independently check the block and its transactions. If the block follows the consensus rules, nodes can accept it as part of their view of the Bitcoin blockchain.

5. What are transaction fees?

Bitcoin transactions can include a fee paid to the miner whose block includes the transaction.

Fees are generally measured in satoshis per virtual byte (sat/vB). The fee rate and the transaction's size help determine the total fee.

When demand for block space is high, users may compete by offering higher fee rates. When demand is lower, fees may be lower.

Remember: A higher fee rate can make a transaction more attractive to miners, but it does not guarantee immediate confirmation.

6. What are confirmations?

A confirmation happens when a transaction is included in a block that becomes part of the accepted blockchain.

More confirmations generally make it increasingly difficult to reorganise the blockchain and remove that transaction. The appropriate number depends on the value and risk of the payment.

7. Follow the journey of a Bitcoin payment

  1. Wallet: Creates and signs the transaction.
  2. Network: Shares the transaction with nodes.
  3. Mempool: Holds eligible unconfirmed transactions.
  4. Miner: May include the transaction in a block.
  5. Nodes: Independently verify the block.
  6. Blockchain: Records the confirmed transaction.

Test your knowledge

1. What does a Bitcoin wallet use to sign a transaction?
2. What is the mempool?
3. Who attempts to include transactions in new blocks?
4. What does one confirmation mean?

Final thought

Bitcoin transactions are more than digital payments. They are verified by a distributed network of independent computers following shared rules.

You do not need to trust one bank to maintain the transaction record. You can verify the rules and blockchain history using your own node.

← Back to Bitcoin Journey