Introduction
One system can track what you have as a balance. Another can track
separate pieces that add up to that amount.
What you’ll learn
Trace a payment using outputs and compare it with an account
balance.
Lesson
An account-style record stores a balance or other application state
under a key. A UTXO represents a particular unspent output and its
spending conditions. The wallet can show a balance by adding the outputs
it is authorized to spend.
Worked example. A club has 10 credits and sends 4,
ignoring fees. An account-style balance drops from 10 to 6. In the UTXO
version, the club holds outputs of 7 and 3. It consumes the 7-credit
output and creates outputs of 4 for the recipient and 3 as change. It
now controls two separate 3-credit outputs. Attempts to spend the same
original output conflict. Independent outputs can reduce contention,
although transactions may also depend on shared state elsewhere.
Cardano’s extended UTXO model can associate data with outputs and
apply validator rules when spending them. A Midnight application can use
output-based asset operations alongside application state, such as a
reservation count. Ask two separate questions: how state is represented
and what is disclosed. A UTXO recorded publicly, with its amount and
spending links visible, offers a different privacy profile from a
shielded output.
Practice quiz
Select one answer per question.
Answer key and explanations
- A. Three credits.
- C. They may depend on the same unspent output or on
incompatible updates to shared application state.
Sign in with Discord to take this quiz and earn your badge.