Cashu-TS - v4.12.0
    Preparing search index...

    Function bolt11PaymentHash

    • Internal

      Reads the payment hash from a BOLT11 invoice's tagged fields, as lowercase hex.

      Parameters

      • pr: string

      Returns string

      Bech32 checksum only, no signature check: that is the payer's job.

      If the string is not a BOLT11 invoice or carries no payment hash.