• Parameters

    • payload: {
          apiEndpoint: string | URL;
          apiToken: string;
          timeout?: number;
      }
      • apiEndpoint: string | URL

        The API endpoint for authentication.

      • apiToken: string

        The API token for authentication.

      • Optional timeout?: number

        optional timeout for the requests

    Returns Promise<{
        announcedAddress: string[];
        chain: string;
        channelClosurePeriod: number;
        connectivityStatus: "Unknown" | "Red" | "Orange" | "Yellow" | "Green";
        hoprChannels: string;
        hoprManagementModule: string;
        hoprNetworkRegistry?: string;
        hoprNodeSafe: string;
        hoprNodeSafeRegistry?: string;
        hoprToken: string;
        indexBlockPrevChecksum?: number;
        indexerBlock?: number;
        indexerChecksum?: string;
        indexerLastLogBlock?: number;
        indexerLastLogChecksum?: string;
        isEligible: boolean;
        listeningAddress: string[];
        network: string;
        provider?: string;
    }>