Caravan Documentation
    Preparing search index...

    Function verifyMessageSignature

    • Verify a base64 signature against the canonical P2WPKH address derived from pubkey. Returns a boolean — never throws.

      Loose-mode bip322-js: strict mode rejects BIP-137 sigs over P2WPKH, but caravan's cosigner paths canonicalize to P2WPKH so we need to accept them. Address type is hardcoded P2WPKH.

      Parameters

      • args: { message: string; pubkey: string; signature: string }

      Returns boolean