The API endpoint for authentication.
The API token for authentication.
Optional
timeout?: numberoptional timeout for the requests
A Promise that resolves to a boolean indicating the success of the operation. True if the operation is successful, false otherwise.
APIError - If the operation fails. The error object contains the status code and the error message.
Redeems all the unredeemed HOPR tickets in a channel.
This operation may take more than 5 minutes to complete as it involves on-chain operations.