Cardano uses the UTXO model for its transactions. But in practice, how does it actually work? ![]()
Olivier sends 30 ADA to Martin: one UTXO is spent, new ones are created. Nothing is edited.
Amounts are illustrative. Feedback welcome!
Cardano uses the UTXO model for its transactions. But in practice, how does it actually work? ![]()
Olivier sends 30 ADA to Martin: one UTXO is spent, new ones are created. Nothing is edited.
Amounts are illustrative. Feedback welcome!
One useful detail to add: if Olivier spends the 60 ADA UTXO to send 30 ADA, the transaction normally creates two outputs—30 ADA to Martin and a change output back to Olivier, minus the fee. The original 60 ADA UTXO is consumed entirely; the wallet doesn’t “split” it in place. That’s why wallets often show a different UTXO count after a payment, and why coin selection matters. The cash analogy works well.
Thank you @liamwhite for taking the time to add this, it’s a great clarification!
You’re absolutely right: the 60 ADA UTXO is consumed entirely, and the transaction creates new outputs (30 ADA to the recipient, plus a change output back to the sender, minus the fee). Nothing is “split” in place.
That’s exactly what the short demo video shows (with Olivier and Martin as the example): one input consumed, two outputs created, and the other UTXO untouched.
Glad the cash analogy works for you too! ![]()