Closed jeffhappily closed 1 year ago
@jeffhappily you can do by cardano-cli or Ogmios
Unfortunately CSL doesn't support ExUnits calculation for Redeemer
@lisicky Thanks for the pointer, what about for collateral amount, is there a way to calculate it too?
@jeffhappily for collateral it would be better if you create a new issue
There's an
ex_units
field inRedeemer
https://github.com/Emurgo/cardano-serialization-lib/blob/dbcd3e3562d782def91a9f04f04377fa77a02a0a/rust/src/plutus.rs#L816-L821I think it's possible to use tool like blockfrost to calculate the budget, but is there any other way to do it, preferably just using this library? Or is there any other way to construct the
Redeemer
without having to calculate the budget myself?