Data supplied by the transaction that tries to spend a smart-contract-locked output. The redeemer answers the question "what is this transaction trying to do?", while the datum answers "what state is currently attached to this output?". The script evaluates both together and either authorizes or rejects the spend.
Explore next
- DatumA piece of data attached to a UTxO that a smart contract can read when deciding whether the UTxO can be spent.View term
- eUTXOCardano's extension of the UTXO accounting model; each output can carry datum and script logic, so smart contracts express rules without the shared mutable state used by account-based chains.View term
- Smart ContractSelf-executing code stored on a blockchain that automatically enforces and executes agreement terms when predefined conditions are met.View term