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

    Class MintInfo

    Index

    Constructors

    Accessors

    • get nuts(): {
          "10"?: { supported: boolean };
          "11"?: { supported: boolean };
          "12"?: { supported: boolean };
          "14"?: { supported: boolean };
          "15"?: { methods: MPPMethod[] };
          "17"?: { supported: WebSocketSupport[] };
          "20"?: { supported: boolean };
          "21"?: {
              client_id: string;
              openid_discovery: string;
              protected_endpoints?: { method: "GET" | "POST"; path: string }[];
          };
          "22"?: {
              bat_max_mint: number;
              protected_endpoints: { method: "GET"
              | "POST"; path: string }[];
          };
          "4": { disabled: boolean; methods: SwapMethod[] };
          "5": { disabled: boolean; methods: SwapMethod[] };
          "7"?: { supported: boolean };
          "8"?: { supported: boolean };
          "9"?: { supported: boolean };
      }

      Returns {
          "10"?: { supported: boolean };
          "11"?: { supported: boolean };
          "12"?: { supported: boolean };
          "14"?: { supported: boolean };
          "15"?: { methods: MPPMethod[] };
          "17"?: { supported: WebSocketSupport[] };
          "20"?: { supported: boolean };
          "21"?: {
              client_id: string;
              openid_discovery: string;
              protected_endpoints?: { method: "GET" | "POST"; path: string }[];
          };
          "22"?: {
              bat_max_mint: number;
              protected_endpoints: { method: "GET"
              | "POST"; path: string }[];
          };
          "4": { disabled: boolean; methods: SwapMethod[] };
          "5": { disabled: boolean; methods: SwapMethod[] };
          "7"?: { supported: boolean };
          "8"?: { supported: boolean };
          "9"?: { supported: boolean };
      }

    • get supportsBolt12Description(): boolean

      Checks if the mint supports creating BOLT12 offers with a description.

      Returns boolean

      True if the mint supports offers with a description, false otherwise.

    Methods

    • Parameters

      • method: "GET" | "POST"
      • path: string

      Returns boolean

    • Parameters

      • method: "GET" | "POST"
      • path: string

      Returns boolean