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

    Function hasTag

    • Check if a secret has a tag with the given key.

      Parameters

      • secret: string | Secret

        The Proof secret.

      • key: string

        Tag key to lookup.

      Returns boolean

      • True if tag exists, False otherwise.