Type alias TransactionTemplate<CompilerType, EnableFeeEstimation, CompilationDataType>
Transaction
Template
<CompilerType, EnableFeeEstimation, CompilationDataType>: TransactionCommon<InputTemplate<CompilerType, EnableFeeEstimation, CompilationDataType>, OutputTemplate<CompilerType, EnableFeeEstimation, CompilationDataType>>
Type Parameters
-
CompilerType
-
EnableFeeEstimation = false
-
A Transaction that may optionally use compilation directives in place of
lockingBytecode
andunlockingBytecode
instances. During transaction generation, VM bytecode will be generated from these directives.If
EnableFeeEstimation
istrue
, all input directives must include anestimate
scenario ID, and thevalueSatoshis
value of each output may also beundefined
(as estimated transactions always set output values toexcessiveSatoshis
).