Bitcoin in Practice: Transactions as Ledger Events
By Kurt Wuckert Jr.
Transactions as Ledger Events
Transactions are the events recorded on a public ledger. They get grouped into blocks, which you can think of as batches of events that happened over a span of time and are stamped together.
A transaction is the basic “change request” the network accepts. It says, “take value from here, and re-lock it over there.”
Inputs, Outputs, and What a Transaction Really Does
Bitcoin transactions are built from inputs and outputs:
An input spends existing tokens by unlocking a previous output.
An output creates new locked tokens by setting the conditions for who can spend them next.
That is why transactions can be treated like electronic contracts. The output sets the rules, and a future spender has to satisfy those rules to move the tokens again.
A Simple Example: Alice to Bob to Carol to Dave
In a typical flow, Alice controls some tokens because she controls the private key needed to spend them. When she pays Bob, she produces a transaction where she proves she is allowed to spend those tokens, then creates a new output that locks the tokens to Bob’s public key.
The transaction does not publish real-world identities. It moves control from one set of keys to another. Bob can then spend what he received by creating another transaction to Carol, and Carol can do the same to Dave. The ledger shows the chain of custody, even if it never names the people.
Coinbase Transactions and How New Coins Enter Circulation
The first transaction in every block is the coinbase transaction. It has no inputs and creates coins in its output as a reward to the node that earned the right to add the block through Proof of Work.
That reward has two parts: the block subsidy and the transaction fees from the transactions included in that block.
Two “Chains” in Bitcoin
Bitcoin has a chain of blocks, but it also has many chains of coins. The whitepaper describes a coin as “a chain of digital signatures,” meaning you can trace any spendable piece of value backward through its history of transactions, all the way to the coinbase transaction that first introduced it.
Put together, the block chain and the coin histories form an immutable time-ordered record, a time-chain of events.
UTXOs: The Spendable Objects
An unspent transaction output, or UTXO, is an output that has not been used as an input yet. Until it is spent, it represents value that can be used in a future transaction.
At any moment, the set of all existing UTXOs represents all the tokens that can be spent right now. Bitcoin nodes keep a UTXO database to track that current state.
Accounts vs UTXOs
In account-based systems, you tend to track balances directly, like “Alice has 10, Bob has 7.” Bitcoin’s UTXO model is different:
One owner can control many UTXOs.
A single key can control multiple UTXOs, and it is also possible to use one keypair per UTXO.
The system does not need to maintain named account balances, because each spend references specific outputs.
This model also makes it easier to parallelize transaction processing, which matters for scaling.
The Banknote Analogy
A UTXO is a lot like a physical banknote.
If you have a $100 bill and you buy something for $50, you hand over the whole $100. You do not tear it in half. You receive change back as a new note, and the original bill is no longer yours.
A UTXO works the same way. If you spend a UTXO worth 100 satoshis, you might send 50 satoshis to someone else, pay 10 satoshis in fees, and create a new UTXO of 40 satoshis as change. That “change” output can even be locked back to the same key you started with, but it is still a new UTXO because it exists at a new location in the ledger.
The Safe-Deposit Box Analogy and Privacy
Another way to picture it is this: satoshis are like individual items, and a UTXO is an envelope holding a bundle of them. That envelope gets locked into a safe-deposit box in a giant vault.
The box number is like the identifier associated with an address or public key used in most locking scripts. One box can hold multiple envelopes, meaning one address can control multiple UTXOs.
You can reuse the same box, but it reduces privacy because observers can see repeated activity tied to the same identifier. Practically speaking, you can create as many new boxes as needed.
Lost Keys and Lost Tokens
The system does not “lose” satoshis in the sense of deleting them. They remain part of the ledger’s history. What can be lost is access, when someone loses the keys needed to unlock a UTXO.
Using the safe-deposit box metaphor, losing keys does not destroy what is inside, but regaining access can be costly. If the value is tiny, it is not worth the effort. If the value is large, it may be worth spending time and money to recover access.
Lost tokens do not break the system. The practical impact is that people tend to keep better records and take more precautions when the values are larger.
Many Inputs and Many Outputs
Traditional payment systems often look like one input and one output because they are account-based. Bitcoin transactions can have many inputs and many outputs because they are assembling and splitting UTXOs.
Each output includes a locking script, a predicate that must evaluate to true for the output to be spent later. The missing information needed to satisfy that predicate is provided by the spender in the input of the next transaction. This is also where Bitcoin’s native scripting language, Script, comes into play, allowing a wide variety of contract-like conditions.
Coins as Chains of Signatures
When you zoom out, these inputs and outputs create chains. Coins enter circulation through coinbase transactions, then get passed from one locking condition to another as people spend them.
That is the sense in which a coin is a chain of digital signatures. It is a traceable history of control moving through time.
ELI5(ish...)
A transaction is like a receipt that says, “I’m taking this money from one locked box, and I’m putting it into new locked boxes.”
A UTXO is like a bill in your wallet. If you spend a $100 bill on a $50 item, you hand over the whole bill, then you get $50 back as change. Bitcoin does the same thing: you spend the whole UTXO, then create new outputs for the recipient, for fees, and for your change.
And the locks are just keys. Your “address” is like the number on a safe-deposit box, and your private key is the key that opens it. If you reuse the same box number all the time, people can watch your activity. If you lose the key, the stuff inside is still in the vault, but you may not be able to access it without a costly recovery process.