TransactionWitnessSet constructor

TransactionWitnessSet({
  1. List<Vkeywitness>? vKeys,
  2. List<NativeScript>? nativeScripts,
  3. List<BootstrapWitness>? bootstraps,
  4. List<PlutusScript>? plutusScripts,
  5. PlutusList? plutusData,
  6. List<Redeemer>? redeemers,
})

Constructor for creating a TransactionWitnessSet.

Implementation

TransactionWitnessSet(
    {List<Vkeywitness>? vKeys,
    List<NativeScript>? nativeScripts,
    List<BootstrapWitness>? bootstraps,
    List<PlutusScript>? plutusScripts,
    this.plutusData,
    List<Redeemer>? redeemers})
    : vKeys = AdaTransactionUtils.unmodifiable(vKeys),
      nativeScripts = AdaTransactionUtils.unmodifiable(nativeScripts),
      bootstraps = AdaTransactionUtils.unmodifiable(bootstraps),
      plutusScripts = AdaTransactionUtils.unmodifiable(plutusScripts),
      redeemers = AdaTransactionUtils.unmodifiable(redeemers);