Function openMultipleChannels

  • Parameters

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

        The API endpoint for authentication.

      • apiToken: string

        The API token for authentication.

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

        optional timeout for the requests

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