Cardano’s eUTxO model takes Bitcoin’s proven foundation and adds three powerful ingredients: Datum, Redeemer, and Context.
eUTxO stands for Extended Unspent Transaction Output. It is the ledger model of Cardano. Like Bitcoin, Cardano stores value in outputs that are spent whole. eUTxO extends each output so it can carry data and be locked by a script, which turns plain payments into programmable smart contracts while keeping validation deterministic.
Custom data attached to script-locked outputs. This is the “state” of a smart contract, think of it as a note pinned to a banknote that says what it’s for.
Data provided by the person spending the output. It’s the “action” or argument passed to the validator: claim, swap, vote, cancel, whatever the contract expects.
The full transaction visible to the validator script. Inputs, outputs, fees, signatories, time range, everything needed to decide if this spend is valid.
The critical advantage: because the script sees only the transaction (not global state), validation is fully deterministic. You know whether your transaction will succeed before you submit it. With honest pre-validation, transactions don’t fail on-chain unexpectedly, and if a script does fail in phase-2 validation, only the dedicated collateral is consumed, not the full transaction value.
| Property | Bitcoin UTxO | Cardano eUTxO |
|---|---|---|
| Output holds | Amount and locking script | Amount, native tokens, optional datum or script reference |
| Spending condition | Signature or limited script | Signature, native script or Plutus validator |
| Script sees | Its own input and witness data | The whole transaction (script context) |
| Contract state | Not supported | Stored in the datum of an output |
| Tokens | Needs extra protocols | Native, no contract required |
| Fee | Leftover of inputs minus outputs | Explicit, calculated before submission |
Explore how an eUTxO validator evaluates a transaction. Configure the inputs and see the result.
Satoshi introduces the UTxO model: simple, robust, designed for decentralized value transfer.
Vitalik chooses accounts to enable richer smart contracts. Trade-off: shared mutable state.
Chakravarty et al. formalise an extension of UTxO that supports expressive contracts while preserving the dataflow properties of the original model. The paper also introduces Constraint Emitting Machines (CEM), a way to model contracts as state machines on eUTxO.
Cardano brings eUTxO smart contracts to mainnet with Plutus scripts.
Design patterns mature in production: state-machine contracts in the spirit of CEM, multi-validator protocols, batch processing at scale.
eUTxO, the Extended Unspent Transaction Output model, is the ledger model of Cardano. It keeps the UTXO structure of Bitcoin and lets each output carry a datum and be locked by a script. To spend such an output, a transaction supplies a redeemer, and the script decides based on datum, redeemer and the whole transaction whether the spend is valid.
Bitcoin outputs carry an amount and a locking script with limited expressiveness, and that script cannot see the rest of the transaction. eUTxO outputs can also hold arbitrary data (the datum) and native tokens, and the validator sees the full transaction, including all inputs, outputs, signers and the validity interval. That makes general smart contracts possible.
Cardano uses eUTxO since the Alonzo hard fork in September 2021. Ergo uses its own extended UTXO design with registers on each box. Bitcoin and its forks use the plain UTXO model.
A validator only sees the transaction and the outputs it spends, never any global state that could change in the meantime. If the transaction validates on your machine, it validates the same way on chain, as long as its inputs are still unspent. If an input was spent in the meantime, the transaction is rejected without charging a fee.
Transactions that spend different outputs never conflict, so they can be processed in parallel. Problems appear only when many users want to spend the same script output at once, which is called contention. DEXes solve this with batchers or several pool outputs, and oracles use reference inputs, which can be read without being spent.
Optional. Score 3/3 to earn mastery badges. Your first attempt counts for the Polymath badge. Questions and answer order are randomised on every attempt.