Unspent Transaction Output
1 min read
Pronunciation
[uhn-spent tran-zak-shuhn out-poot]
Analogy
Think of UTXOs like individual bills and coins in your physical wallet. When you buy something, you don't tear a portion off a $20 bill—you hand over the entire bill and receive change as needed. Similarly, cryptocurrency transactions consume whole UTXOs and create new ones, rather than just deducting from a balance.
Definition
A transaction output that has been received but not yet spent, representing a specific amount of cryptocurrency that can be used as an input in a new transaction. UTXOs are the fundamental building blocks of value transfer in Bitcoin and similar cryptocurrencies.
Key Points Intro
UTXOs represent discrete units of cryptocurrency ownership that must be consumed in their entirety when spent.
Key Points
Represents a specific amount of cryptocurrency locked to a particular address or script.
Must be spent completely in a transaction, with change returned as a new UTXO if needed.
Cannot be partially spent—the entire output must be consumed as an input.
The sum of all UTXOs assigned to an address constitutes that address's effective balance.
Example
Technical Deep Dive
UTXOs contain several key components: (1) A value specifying the amount of cryptocurrency; (2) A locking script (scriptPubKey) defining the conditions required to spend it, typically requiring a signature matching a specific public key; and (3) References to the transaction that created it. When spending UTXOs, the owner creates inputs referencing these specific outputs and provides unlocking scripts (scriptSig) that satisfy the conditions. The UTXO model offers several advantages over account-based models: it simplifies transaction validation, enables greater privacy through address rotation, prevents double-spending without checking account history, and allows parallel processing of unrelated transactions. Advanced UTXO implementations include time-locks, multi-signature requirements, hash-locks for cross-chain swaps, and even limited smart contract functionality through innovations like Pay-to-Script-Hash (P2SH) and Taproot.
Caveat
While the UTXO model provides advantages in security and privacy, it creates challenges for smart contract implementation compared to account-based systems. It also requires more complex wallet logic to optimize UTXO selection for efficiency, privacy, and fee management.
Unspent Transaction Output - Related Articles
No related articles for this term.