Type alias OpenChannelPayloadType

OpenChannelPayloadType: {
    amount: string;
    apiEndpoint: string | URL;
    apiToken: string;
    destination?: string;
    peerAddress?: string;
    timeout?: number;
}

Open channel

Type declaration

  • amount: string
  • apiEndpoint: string | URL

    The API endpoint for authentication.

  • apiToken: string

    The API token for authentication.

  • Optional destination?: string
  • Optional peerAddress?: string
  • Optional timeout?: number

    optional timeout for the requests