- fundChannel(payload): Promise<{
hash: string;
}> Parameters
- payload: {
address: string;
amount: string;
apiEndpoint: string | URL;
apiToken: string;
timeout?: number;
}address: string
amount: string
apiEndpoint: string | URL
apiToken: string
Optional timeout?: number
Returns Promise<{
hash: string;
}>
Funds an existing channel with the given amount. The channel must be in state OPEN