Given the 32-byte hash256 of a P2SH32 redeem bytecode, encode a P2SH32 locking bytecode: OP_HASH256 OP_PUSHBYTES_32 redeemBytecodeHash OP_EQUAL.
OP_HASH256 OP_PUSHBYTES_32 redeemBytecodeHash OP_EQUAL
This method does not validate p2sh32Hash in any way; inputs of incorrect lengths will produce incorrect results.
p2sh32Hash
the 32-byte, p2sh32 redeem bytecode hash
Generated using TypeDoc
Given the 32-byte hash256 of a P2SH32 redeem bytecode, encode a P2SH32 locking bytecode:
OP_HASH256 OP_PUSHBYTES_32 redeemBytecodeHash OP_EQUAL
.This method does not validate
p2sh32Hash
in any way; inputs of incorrect lengths will produce incorrect results.