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

    Function getTagScalar

    • Get the single value of a scalar tag as a string, or undefined if missing.

      Parameters

      • secret: string | Secret

        The Proof secret.

      • key: string

        Tag key to lookup.

      Returns string | undefined

      • Tag value or undefined if not present.

      If the tag carries more than one value.