Interface CompilationContext<TransactionType>

A reduced version of AuthenticationProgramCommon in which some transaction input unlockingBytecode values may be undefined. This context is required by the compiler to generate signatures.

As of BCH 2022, sourceOutputs.lockingBytecode is not required for any signing serialization algorithms. However, this type requires each to be provided in anticipation of a future signing serialization algorithm that supports committing to UTXO bytecode values.

Type Parameters


  • CompilationContext


inputIndex: number
sourceOutputs: Output<Uint8Array, Uint8Array>[]
transaction: TransactionType

Generated using TypeDoc