Glossary · Smart Contracts
Redeemer.
Data supplied by the spender of an eUTxO. The “action” passed into the validator.
Think of it as
The intent or instruction you bring with the key. The box already knows what it is (datum); you tell it what you want to do with it.
In depth
A Redeemer is the input the spending transaction provides to the validator script: claim, swap, vote, cancel, whatever the contract expects. Together with the Datum and Script Context, it determines whether the validator returns true and the spend is allowed.
Example
To withdraw from a vesting contract, the spending transaction supplies a Redeemer like { action: "Claim" }.