Type alias TransactionTemplateEstimated<CompilerType>

TransactionTemplateEstimated<CompilerType>: TransactionTemplate<CompilerType, true> & {
    totalInputValueSatoshis: number;

A transaction template that enables fee estimation. The template must include a totalInputValueSatoshis value (the total satoshi value of all transaction inputs); all unlocking compilation directives must provide an estimate scenario ID that is used to estimate the size of the resulting unlocking bytecode; and the valueSatoshis value of outputs is optional (all satoshi values will be set to excessiveSatoshis in the estimated transaction).

Type Parameters

  • CompilerType

Generated using TypeDoc