Function unlock_clause

Source
pub fn unlock_clause(
    pubkey: XOnlyPublicKey,
    unlock_hash: UnlockHash,
) -> ScriptBuf
Expand description

The hash-based unlock clause that requires a signature and a preimage

It is used hidden in the leaf taproot as only script or used in the forfeit output.