Function openMultipleChannels

  • Parameters

    • payload: {
          amount: string;
          apiEndpoint: string | URL;
          apiToken: string;
          peerAddresses: string[];
          timeout?: number;
      }
      • amount: string
      • apiEndpoint: string | URL

        The API endpoint for authentication.

      • apiToken: string

        The API token for authentication.

      • peerAddresses: string[]
      • Optional timeout?: number

        optional timeout for the requests

    Returns Promise<undefined | {
        [peerId: string]: {
            channelId: string;
            transactionReceipt: string;
        };
    }>