Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

UTXO model

A transaction model where funds are stored as discrete, indivisible units called 'unspent transaction outputs' (UTXOs), which must be fully spent or combined in new transactions.

Technical definition

The UTXO model represents blockchain state as a collection of UTXOs, each of which is a data structure containing an amount of cryptocurrency, a locking script (e.g., a public key hash), and a reference to the transaction that created it. Transactions consume one or more UTXOs as inputs and produce one or more new UTXOs as outputs, with the sum of input values equaling the sum of output values (minus any transaction fees). This model ensures deterministic transaction validation, parallel transaction processing, and simplified verification of double-spending without requiring global state tracking.

An analogy

Imagine a cash register where every dollar bill is a unique, numbered IOU from the bank. When you spend money, you hand over specific bills (UTXOs) and receive new bills in return. The register only tracks which bills are unspent, not the total balance of any individual.

Why it matters

The UTXO model enables efficient transaction validation, supports parallel processing of transactions, and provides a natural way to prevent double-spending without requiring a global ledger state. It is foundational to Bitcoin and many other cryptocurrencies.

Where it came from

The UTXO model was introduced by Bitcoin in 2009 as part of its core design. It was inspired by earlier cryptographic payment systems like Hashcash and was chosen for its simplicity and security properties.

Example in practice

In Bitcoin, when Alice sends 0.1 BTC to Bob, the transaction consumes one or more UTXOs controlled by Alice (e.g., a UTXO worth 0.15 BTC) and creates two new UTXOs: one worth 0.1 BTC sent to Bob and another worth 0.049 BTC returned to Alice as change (with 0.001 BTC as a transaction fee).

Common misconceptions

  • UTXOs are the same as account balances → Correction: UTXOs are discrete units that must be fully spent or combined, unlike account balances which are fungible and tracked as a single value.
  • The UTXO model is only used in Bitcoin → Correction: While Bitcoin popularized it, UTXO is also used in Litecoin, Bitcoin Cash, and Cardano, among others.

Risks & limitations

  • Transaction complexity: Large transactions may require combining many small UTXOs, increasing fees and processing time.
  • Privacy limitations: UTXO ownership can sometimes be linked through transaction graphs, reducing privacy compared to account models.
  • Scalability challenges: UTXO-based systems may struggle with high throughput due to the need to validate all inputs and outputs for each transaction.

Related terms

About "UTXO model" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Why doesn't Bitcoin use an account model like Ethereum?

Bitcoin's UTXO model was chosen for its simplicity, security, and ability to validate transactions without a global state. Account models require tracking balances and nonce values, which increases complexity and potential attack surfaces.

Can UTXOs be partially spent?

No, UTXOs must be fully spent in a transaction. If you want to send only part of a UTXO, the transaction creates a new UTXO for the remainder as 'change' sent back to your own address.

Does the UTXO model affect transaction fees?

Yes, fees are determined by the size of the transaction in bytes, which depends on the number of inputs (UTXOs) and outputs. More inputs or outputs generally mean higher fees.