

This concept refers to unspent transaction outputs in cryptocurrency systems.
A cryptocurrency transaction output remains "unspent" until it is used as an input in another transaction. Unspent transaction outputs are a crucial component of the cryptocurrency ecosystem, used to track ownership of funds across multiple blockchains, with Bitcoin network being the most prominent example.
Unspent outputs are the equivalent of "change" in traditional currency purchases.
Suppose you have a Bitcoin balance of 1 BTC and want to purchase something that costs 0.1 BTC. You would send 0.1 BTC to the seller, and the remaining 0.9 BTC would become your UTXO. You can then use this unspent transaction amount to make more purchases or transfers in the future.
The blockchain stores all UTXOs and everyone can view them. Each one has a unique identifier, which is the hash of the previous transaction and the output index within that transaction.
Each has its own unique address. This ensures that coins cannot be spent twice, providing a fundamental security mechanism for the network.
When users conduct transactions on a blockchain that uses the unspent output model, a new UTXO is created. This unspent transaction output is the result of a previous transaction and is then used as input in a new transaction.
For an unspent transaction output to occur, there must first be an input. An input is simply a reference to an existing UTXO. It is then spent, and a new one is created in its place. This continuous cycle of spending and creating UTXOs forms the foundation of transaction processing in UTXO-based blockchains.
The creation process ensures that every unit of cryptocurrency can be traced back to its origin, providing transparency and security throughout the network.
Various networks use the unspent transaction model to track who owns which coins. When someone sends Bitcoin to another person, they send one or more UTXOs to the recipient's public key.
UTXOs are stored on blockchains and can be treated as analogous to physical coins. Once a UTXO is used in a transaction, it is no longer stored in your wallet. Instead, it now resides on the blockchain as part of the transaction history.
The working mechanism of UTXOs ensures that each transaction is verifiable and immutable. When you initiate a transaction, your wallet software automatically selects the appropriate UTXOs to fulfill the payment amount, similar to selecting physical bills and coins from your wallet.
Let's assume someone wants to send another person 3 BTC. They open their Bitcoin wallet and have 2 BTC available from a previous transaction and another 1.5 BTC from a different transaction. To send 3 BTC, they must use both transactions as inputs.
Once the transaction is completed, two outputs will appear. First, the recipient will receive 3 BTC. The difference between the total input value (3.5 BTC) and the amount sent by the sender (3 BTC) will be 0.5 BTC. This amount is then sent back to the sender as a new UTXO.
This example illustrates how UTXOs are combined and split during transactions, demonstrating the flexibility and precision of the UTXO model in handling various transaction amounts.
Consolidation of unspent transaction outputs combines multiple UTXOs into one output to reduce fees or increase privacy.
The more UTXOs you have, the more inputs will be needed and the higher the transaction fees will be. By consolidating them, you can reduce the number of inputs and save on fees.
There are two main ways to consolidate:
Manual consolidation involves creating a new transaction with the desired UTXOs as inputs, then sending the entire amount to yourself in one output.
Automatic consolidation involves the wallet periodically creating new transactions that combine multiple unspent outputs into one result.
Consolidation is particularly useful for users who receive many small payments, as it helps optimize wallet efficiency and reduce future transaction costs.
The UTXO model's advantages make it particularly suitable for applications requiring high security, transparency, and scalability.
Despite these limitations, the security and transparency benefits of the UTXO model often outweigh its drawbacks for many blockchain applications.
In the accounting model, all transactions are reflected in an account balance. In contrast, unspent transaction outputs treat currency as an object rather than a unit.
| Account Model ("accounts") | UTXO Model |
|---|---|
| Transactions have lower memory requirements | Transactions require more disk space |
| State is stored in nodes | State is stored in transactions |
| Lower security | Higher security |
| Transaction calculation is complicated | Transaction calculation is simpler |
| Greater efficiency for mass transactions | Lower efficiency for mass transactions |
This comparison highlights the fundamental differences in how these two models approach transaction processing and state management. The UTXO model prioritizes security and verifiability, while the account model emphasizes efficiency and simplicity.
UTXOs essentially play a key role in the operation of Bitcoin and several other cryptocurrencies. When you send a Bitcoin transaction, unspent transaction outputs signal to the network how much digital currency you have sent and received. Other blockchains, such as Cardano, are developing this concept and using eUTXO – Extended UTXO.
The Extended UTXO model builds upon the original concept by adding additional functionality, such as the ability to carry arbitrary data and execute more complex smart contracts. This evolution demonstrates the adaptability and ongoing relevance of the UTXO model in modern blockchain development.
As blockchain technology continues to evolve, the UTXO model remains a fundamental approach to transaction management, offering a proven balance of security, transparency, and functionality that has stood the test of time in the cryptocurrency ecosystem.
UTXO is the unspent remainder from a blockchain transaction that can be used as input for future transactions. It ensures transaction validity and enhances security and efficiency in the blockchain network.
UTXO model tracks unspent outputs as separate entities, enhancing privacy and parallelization. Account model maintains account balances like traditional banking. UTXO is generally safer due to lower complexity and fewer vulnerabilities, while Account model offers better programmability.
Bitcoin uses UTXO model because it precisely tracks each transaction's inputs and outputs through a chain structure, enabling every output to be traced back to its origin. This design avoids account balance complexity and potential errors inherent in account-based systems.
Unspent (UTXO) refers to transaction outputs that have not been used as inputs in subsequent transactions. Spent outputs are those already consumed in new transactions. Your address balance equals the sum of all unspent outputs associated with it.
The UTXO model prevents double-spending because each UTXO can only be used once. Once a UTXO is spent in a transaction, it becomes invalid and cannot be reused. This ensures every coin is spent exactly once, eliminating double-spending risks.
Bitcoin and ZCash use the UTXO model. Ethereum uses an account balance model instead, which is better suited for smart contract functionality and state management.











