AuxiliaryData constructor

AuxiliaryData({
  1. GeneralTransactionMetadata? metadata,
  2. List<NativeScript>? nativeScripts,
  3. List<PlutusScript>? plutusScripts,
  4. bool preferAlonzoFormat = false,
})

Implementation

AuxiliaryData({
  this.metadata,
  List<NativeScript>? nativeScripts,
  List<PlutusScript>? plutusScripts,
  this.preferAlonzoFormat = false,
})  : nativeScripts = AdaTransactionUtils.unmodifiable(nativeScripts),
      plutusScripts = AdaTransactionUtils.unmodifiable(plutusScripts);