Type Alias GetInfoResponse

GetInfoResponse: {
    contact: MintContactInfo[];
    description?: string;
    description_long?: string;
    motd?: string;
    name: string;
    nuts: {
        "10"?: { supported: boolean };
        "11"?: { supported: boolean };
        "12"?: { supported: boolean };
        "14"?: { supported: boolean };
        "15"?: { methods: MPPMethod[] };
        "17"?: { supported: WebSocketSupport[] };
        "4": { disabled: boolean; methods: SwapMethod[] };
        "5": { disabled: boolean; methods: SwapMethod[] };
        "7"?: { supported: boolean };
        "8"?: { supported: boolean };
        "9"?: { supported: boolean };
    };
    pubkey: string;
    version: string;
}

Response from mint at /info endpoint

Type declaration

  • contact: MintContactInfo[]
  • Optionaldescription?: string
  • Optionaldescription_long?: string
  • Optionalmotd?: string
  • name: string
  • nuts: {
        "10"?: { supported: boolean };
        "11"?: { supported: boolean };
        "12"?: { supported: boolean };
        "14"?: { supported: boolean };
        "15"?: { methods: MPPMethod[] };
        "17"?: { supported: WebSocketSupport[] };
        "4": { disabled: boolean; methods: SwapMethod[] };
        "5": { disabled: boolean; methods: SwapMethod[] };
        "7"?: { supported: boolean };
        "8"?: { supported: boolean };
        "9"?: { supported: boolean };
    }
  • pubkey: string
  • version: string