Cashu-TS - v3.3.0
    Preparing search index...

    Function parseHTLCSecret

    • Parse an HTLC Secret and validate NUT-10 shape.

      Parameters

      • secret: string | Secret

        The Proof secret.

      Returns Secret

      Secret object.

      If the JSON is invalid or NUT-10 secret is malformed.