TransactionBody constructor
TransactionBody({
- required List<
TransactionInput> inputs, - required List<
TransactionOutput> outputs, - required BigInt fee,
- BigInt? ttl,
- List<
Certificate> ? certs, - Withdrawals? withdrawals,
- Update? update,
- AuxiliaryDataHash? auxiliaryDataHash,
- BigInt? validityStartInterval,
- Mint? mint,
- ScriptDataHash? scriptDataHash,
- List<
TransactionInput> ? collateral, - List<
Ed25519KeyHash> ? requiredSigners, - ADANetwork? network,
- TransactionOutput? collateralReturn,
- BigInt? totalCollateral,
- List<
TransactionInput> ? referenceInputs,
Implementation
TransactionBody(
{required List<TransactionInput> inputs,
required List<TransactionOutput> outputs,
required this.fee,
this.ttl,
List<Certificate>? certs,
this.withdrawals,
this.update,
this.auxiliaryDataHash,
this.validityStartInterval,
this.mint,
this.scriptDataHash,
List<TransactionInput>? collateral,
List<Ed25519KeyHash>? requiredSigners,
this.network,
this.collateralReturn,
this.totalCollateral,
List<TransactionInput>? referenceInputs})
: inputs = List<TransactionInput>.unmodifiable(inputs),
outputs = List<TransactionOutput>.unmodifiable(outputs),
certs = AdaTransactionUtils.unmodifiable(certs),
collateral = AdaTransactionUtils.unmodifiable(collateral),
requiredSigners = AdaTransactionUtils.unmodifiable(requiredSigners),
referenceInputs = AdaTransactionUtils.unmodifiable(referenceInputs);