Interface CompilationResultSuccess<ProgramState>

Type Parameters

  • ProgramState

Hierarchy

Properties

bytecode: Uint8Array
reduce: ScriptReductionTraceScriptNode<ProgramState>
success: true
transformed?: "p2sh20-locking" | "p2sh20-unlocking" | "p2sh32-locking" | "p2sh32-unlocking"

The transformation type of the resulting bytecode.

Set to p2sh20-locking if the resulting bytecode was transformed into a P2SH20 locking script (OP_HASH160 <$(<result> OP_HASH160)> OP_EQUAL).

Set to p2sh20-unlocking if the resulting bytecode was transformed into a P2SH20 unlocking script (result <locking_script>).

This property is not defined if the result was not transformed.

Generated using TypeDoc