What Is the UTXO Model?
An unspent transaction output (UTXO) is the technical term for the amount of digital currency that remains after a cryptocurrency transaction. You can think of it as the change you receive after buying an item, but it is not a lower denomination of the currency—it is a transaction output in the database generated by the network to allow for non-exact change transactions.
The portion of the whole cryptocurrency not spent in a transaction is used as an accounting measure. Like double-entry accounting, each transaction has an input and output.
For example, imagine that 1 BTC is a bucket full of coins. Each coin represents a UTXO. If you purchase something from Bob for .5 BTC, the network will give Bob the entire bucket of coins and send back the .5 BTC you're owed in "change." You now have a UTXO worth .5 BTC that cannot be divided into smaller amounts.
- A UTXO is the amount of digital currency remaining after a cryptocurrency transaction is executed.
- UTXOs are processed continuously and are part of the beginning and end of each transaction.
- When a transaction is completed, any unspent outputs are recorded into a database as inputs that can be used later for a new transaction.
Understanding the UTXO Model
UTXO is a protocol for distributing the bits of data that cryptocurrency is made from and can be difficult to understand initially. A cryptocurrency network or developer sees UTXO in a much different way than a day-to-day cryptocurrency user does.
What the Network Sees
A cryptocurrency transaction is a transfer of information within a database. Cryptocurrency is divided into small chunks, which are stored throughout the entire database and called unspent transaction outputs. Nearly all transactions create UTXO because most are not in increments of whole numbers.
This means spending does not take place using a single data byte. Instead, multiple fractions of cryptocurrency are retrieved to fulfill a spending request.
UTXOs are not cryptocurrency denominations, like satoshi for Bitcoin (BTC) or gwei for ether (ETH); however, UTXOs can be measured in these denominations.
When you initiate a transaction through your wallet, UTXOs with your information are located, unlocked, and the new owner's information is associated with the UTXO you transferred to them. They are locked once again, and that user can use them in transactions via the same process.
As transactions continue, the database becomes populated with records of ownership changes. The outputs are fractions of cryptocurrency you sent to someone that aren't spent. They are recorded into the database as inputs in fractions of cryptocurrency.
What a User Sees
When you decide to spend your Bitcoin, you only see the amount you've spent deducted and the amount leftover in your wallet. For you, it's similar to using a $1 bill on a $.50 item—you're given change, you put it in your pocket and go about your day.
Goals of the UTXO Model
The UTXO model is used in many cryptocurrencies because it allows users to track ownership of all portions of that cryptocurrency. Because cryptocurrencies were created with anonymity in mind, UTXOs are associated with the public addresses visible to the entire network.
Users cannot be identified from their ownership—unless they advertise their address—but the model allows for transparency through the addresses.
A transaction encodes the transfer of value from the fund source (your input) to the destination (the output, or the recipient).
Downfalls of the UTXO Model
The profusion of small coins within a cryptocurrency's network makes certain transactions uneconomic. This is because it may cost more to transact than the actual cost of the product being purchased with cryptocurrency. For example, it doesn't make sense to buy a $2 cup of coffee if the transaction fee on bitcoin’s network is greater than the price of the coffee.
Is Bitcoin a UTXO?
Unspent transaction outputs are part of the distributed database technology behind Bitcoin and other cryptocurrencies. Bitcoin uses UTXOs, but it is not a UTXO.
Is Ethereum a UTXO?
Ethereum is a cryptocurrency, so it is not a UTXO. Additionally, Ethereum uses an account-based approach with account balances, so there are no UTXOs in the Ethereum Virtual Machine.
What Is UTXO in Blockchain?
UTXOs are small, unspent chunks of cryptocurrency leftover from transactions in certain cryptocurrencies. They are recorded in the UTXO database and used in later transactions.
Investing in cryptocurrencies and other Initial Coin Offerings (“ICOs”) is highly risky and speculative, and this article is not a recommendation by Investopedia or the writer to invest in cryptocurrencies or other ICOs. Since each individual's situation is unique, a qualified professional should always be consulted before making any financial decisions. Investopedia makes no representations or warranties as to the accuracy or timeliness of the information contained herein. As of the date this article was written, the author does not own cryptocurrency.