Function getEncodedToken

  • Helper function to encode a cashu token (defaults to v4 if keyset id allows it)

    Parameters

    • token: Token
    • Optional opts: {
          version: 3 | 4;
      }
      • version: 3 | 4

    Returns string

Generated using TypeDoc