@cashu/cashu-ts
    Preparing search index...

    Function getP2PKLocktime

    • Returns the locktime from a NUT-11 P2PK secret or Infinity if no locktime.

      Parameters

      • secretStr: string | Secret

        The NUT-11 P2PK secret.

      Returns number

      The locktime unix timestamp or Infinity (permanent lock)