Spend Validator
Detailed guide on spend validators including overview, use cases, and example Anvil API interactions.
Overview
Real-world Use Cases
Required UTxO Fields and Deployed Blueprint
{
"txHash": "transaction_hash", // Transaction hash where funds were locked
"index": 0 // Output index within that transaction
}Spend Validator API Interaction Example
1. Locking Assets at Script Address
2. Spending (Unlocking) Locked UTxO
See Examples
https://github.com/Cardano-Forge/anvil-api/blob/main/docs/guides/hello-world-smart-contract.mdhttps://github.com/Cardano-Forge/anvil-api/blob/main/docs/guides/escrow/README.mdLast updated
Was this helpful?

