Implements an absolute timelock (CLTV) script combined with a forfeit closure. The script requires waiting until a specific block height/timestamp before the forfeit closure conditions can be met.

CHECKLOCKTIMEVERIFY DROP CHECKSIGVERIFY CHECKSIG

const cltvMultisigTapscript = CLTVMultisigTapscript.encode({ absoluteTimelock: 144, pubkeys: [new Uint8Array(32), new Uint8Array(32)] });

Type Aliases

Params
Type

Functions

decode
encode
is