1. What is UTXO?
UTXO stands for Unspent Transaction Outputs, representing unspent cryptocurrency amounts in blockchain transactions. Unlike Ethereum's Account Balance Model, Bitcoin doesn't use account-based balances. Instead, it verifies transactions by checking "unspent outputs" recorded on the blockchain to confirm coin ownership.
1-1. Why Use UTXO?
Traditional banking systems simplify transfers:
- Users request a transfer.
- The bank checks the account balance.
- If funds exist, the amount is sent to the recipient’s account.
However, Bitcoin’s decentralized design poses challenges:
- Blocks contain hashed data from prior blocks (not full histories).
- Checking balances requires scanning all transactions from the Genesis Block to the current block—inefficient for real-time updates.
- UTXO streamlines validation by tracking unspent outputs rather than recalculating balances.
2. How UTXO Works
Imagine your wallet holds ₩58,400:
- A ₩50,000 bill, a ₩5,000 bill, three ₩1,000 bills, and four ₩100 coins.
- You can’t tear the ₩50,000 bill—it’s a single unit, like a UTXO.
Bitcoin operates similarly:
- UTXOs are indivisible chunks (e.g., 1 BTC, 0.001 BTC, or 5,734 BTC).
- The smallest UTXO unit is 1 satoshi (0.00000001 BTC).
Example:
Your address 1QM23...18R shows 7.6 BTC, but it’s actually split into UTXOs of 3.1 BTC, 2.8 BTC, 1.2 BTC, and 0.5 BTC.
2-1. UTXO Basics: Pros & Cons
Process:
- Deposits create new UTXOs.
- Spending a UTXO destroys it—outputs are one-time-use.
Pros:
✅ Privacy: New UTXOs per transaction obscure spending patterns.
✅ Security: Harder to manipulate due to cryptographic links.
Cons:
❌ Fee inefficiency: Each UTXO incurs fees; consolidating many small UTXOs increases costs.
2-2. UTXO Lifecycle
- Creation: When coins are sent to an address.
- Destruction: When spent (marked as "used").
Quiz: If G sends H 9 BTC from UTXOs of 3, 4, and 10 BTC:
- The 10 BTC UTXO is used.
- H receives 9 BTC; G gets 1 BTC as "change" (new UTXO).
Key Insight:
- Total UTXO sums remain constant (new outputs replace spent ones).
- Mining rewards create new UTXOs; burning destroys them.
2-3. Inputs vs. Outputs
- Inputs: UTXOs being spent.
- Outputs: New UTXOs created for recipients + change.
Example:
- Inputs: 10 BTC + 5 BTC = 15 BTC.
- Outputs: 12 BTC (to recipient) + 2.95 BTC (change) = 14.95 BTC.
- Fee: 0.05 BTC (difference).
👉 Learn how fees impact your transactions
3. UTXO Transactions & Fees
3-1. Transaction Steps
- Select UTXOs as inputs (e.g., 10 BTC + 5 BTC).
- Specify outputs (recipient + change addresses).
- Miners validate; spent UTXOs are destroyed, new ones created.
Tip: Fewer UTXOs = lower fees. Consolidate small UTXOs periodically.
3-2. UTXO vs. Ethereum’s Account Model
| Feature | Bitcoin (UTXO) | Ethereum (Account) |
|-------------------|-------------------------------|---------------------------------|
| Tracking | Coin origin traceable | Balance-based |
| Flexibility | Binary (spent/unspent) | Supports smart contracts |
| Use Case | Payments | Decentralized apps (dApps) |
Key Difference: Ethereum’s model allows conditional states (e.g., escrow), while UTXO is simpler for pure transactions.
FAQ
Q1: Why does my wallet show multiple UTXOs?
A: Each deposit creates a separate UTXO. Think of them as "digital bills" of varying amounts.
Q2: How do I reduce fees?
A: Avoid splitting transactions into many small UTXOs. Consolidate funds into larger UTXOs when possible.
Q3: Can UTXOs be merged?
A: Yes! Sending funds to yourself combines UTXOs into a single output (lowering future fees).
Q4: What happens if I don’t specify change?
A: Unassigned amounts become miner fees—always designate a change address!
Q5: Is UTXO better for privacy?
A: Yes. New UTXOs per transaction obscure your total balance vs. account-based systems.
👉 Explore advanced UTXO strategies
Final Notes
- UTXOs are foundational to Bitcoin’s transparency and security.
- Optimize fees by managing UTXO sizes wisely.
- Ethereum’s account model suits complex logic; UTXO excels in traceability.
For further reading, dive into Bitcoin’s whitepaper or developer docs!