Cashu-TS - v4.0.0-rc3
    Preparing search index...

    Function getTagInt

    • Get the first scalar value of a tag parsed as base-10 integer, or undefined.

      Parameters

      • secret: string | Secret

        The Proof secret.

      • key: string

        Tag key to lookup.

      Returns number | undefined

      • Tag value as an integer, undefined if not present or invalid.