With the recent Vasil fork script references allow to reduce transaction size. Even though Vasil has been already launched on the testnet I could not find information on how to reduce the size of typed Plutus scripts. The only lead I have found is this repository, but it only has examples on how to use PlutusV2 with untyped scripts.

How to reduce tx size using typed Plutus script with Vasil fork PlutusV2?


1 Answer 1


The common understanding is that reference scripts & reference inputs allow for making some transactions smaller as they would not need to include the full script when spending an output governed by a Plutus script.

  • Yes I know, but for that AFAIK you need PlutusV2 code, which typed scripts I can't find!
    – KugisMugis
    Jul 1, 2022 at 11:04
  • I don't think that reference scripts dictate use of PlutusV2, but the library / framework you use to create transactions needs to support these features. For example: github.com/input-output-hk/cardano-node/blob/… in the cardano-api library. Jul 4, 2022 at 11:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.