ConstBuild a taproot script tree from leaves and compute the output key. Calls Go: txscript.AssembleTaprootScriptTree() + ComputeTaprootOutputKey() from btcd/txscript.
Get multisig script statistics (number of pubkeys and required sigs). Calls Go: txscript.CalcMultiSigStats() from btcd/txscript.
Recover the pkScript from a spent input's sigScript and witness. Calls Go: txscript.ComputePkScript() from btcd/txscript.
Compute the taproot output key for a key-only spend (no script tree). Calls Go: txscript.ComputeTaprootKeyNoScript() from btcd/txscript.
Disassemble a script to human-readable opcodes. Calls Go: txscript.DisasmString() from btcd/txscript.
Extract addresses and required signatures from a pkScript. Calls Go: txscript.ExtractPkScriptAddrs() from btcd/txscript.
Extract witness program version and data from a script. Calls Go: txscript.ExtractWitnessProgramInfo() from btcd/txscript.
Get the standard script class name. Calls Go: txscript.GetScriptClass() from btcd/txscript.
Count signature operations in a script. Calls Go: txscript.GetSigOpCount() from btcd/txscript.
Calls Go: txscript.IsMultisigScript() from btcd/txscript.
Calls Go: txscript.IsPayToPubKey() from btcd/txscript.
Calls Go: txscript.IsPayToPubKeyHash() from btcd/txscript.
Calls Go: txscript.IsPayToScriptHash() from btcd/txscript.
Calls Go: txscript.IsPayToTaproot() from btcd/txscript.
Calls Go: txscript.IsPayToWitnessPubKeyHash() from btcd/txscript.
Calls Go: txscript.IsPayToWitnessScriptHash() from btcd/txscript.
Calls Go: txscript.IsPushOnlyScript() from btcd/txscript.
Calls Go: txscript.IsUnspendable() from btcd/txscript.
Calls Go: txscript.IsWitnessProgram() from btcd/txscript.
Create an OP_RETURN null data script. Calls Go: txscript.NullDataScript() from btcd/txscript.
Parse a serialized control block. Calls Go: txscript.ParseControlBlock() from btcd/txscript.
Parse a pkScript into class, script hex, and (optional) address. Calls Go: txscript.ParsePkScript() from btcd/txscript.
Create a pkScript that pays to the given address. Calls Go: txscript.PayToAddrScript() from btcd/txscript.
Create a P2TR script from a 32-byte x-only public key (hex). Calls Go: txscript.PayToTaprootScript() from btcd/txscript.
Extract all data pushes from a script. Calls Go: txscript.PushedData() from btcd/txscript.
Calls Go: txscript.ScriptHasOpSuccess() from btcd/txscript.
Bitcoin transaction script analysis, creation, taproot, and signing.