What is a UTXO?
Advanced · Updated
Bitcoin does not store an account balance that gets edited. It stores unspent transaction outputs, UTXOs. Each one has a value and a script that says under what condition it can be spent. The balance a wallet shows you is the sum of the outputs it knows how to sign, not a number written on an account somewhere. To pay, a transaction consumes whole outputs as inputs and creates new outputs: one for the recipient and, almost always, a change output back to you. There is no half output.
That rule changes the fee and the privacy. A payment that gathers many small outputs weighs more and pays a higher fee at the same fee per unit of weight. Joining outputs that had no relation links them on the public graph: anyone who reads the chain sees that they were spent together. Change is an output of yours that becomes a UTXO again, and it can be mistaken for a payment if you do not look at the amounts. Choosing which outputs to spend is coin control. They are not different coins: they are pieces of the same bitcoin, with different history.
Informational text from Criptos.ai. It is not a buy or sell recommendation, and it is not tax advice. This is general information, not financial, tax or legal advice. We do not promise gains.
Articles
In the Academy: Advanced · In the Academy · In the glossary