Closed dchambers closed 3 weeks ago
You can now pass in a IEvaluator
instance in Transaction
to automatically update redeemer. That should fix this issue:
const tx = new Transaction({ initiator: wallet, evaluator: provider }) // provider is a provider instance which has implemented IEvaluator
I need to be able to redeem multiple UTxOs within a single transaction, and I'm attempting to use multiple invocations of
redeemValue
to do that. From this issue it sounds like the available budget would need to be shared across the set of redeemed UTxOs. TheredeemValue
function always sets the budget toDEFAULT_REDEEMER_BUDGET
, however, with no obvious way to override this.Here's the crux of the error message I get:
Am I maybe doing something wrong, or is there some alternate API for cases where multiple UTxOs need to be redeemed in a single transaction please?