Function getChannelTickets
- getChannelTickets(payload): Promise<{
amount: string;
channelEpoch: number;
channelId: string;
index: number;
indexOffset: number;
signature: string;
winProb: string;
}[]> Parameters
- payload: {
apiEndpoint: string | URL;
apiToken: string;
channelId: string;
timeout?: number;
}apiEndpoint: string | URL
apiToken: string
channelId: string
Optional
timeout?: number
Returns Promise<{
amount: string;
channelEpoch: number;
channelId: string;
index: number;
indexOffset: number;
signature: string;
winProb: string;
}[]>
The API endpoint for authentication.