Get Raffle Leaderboard
These functions are not actively maintained! Use at your own risk!
The getRaffleLeaderboard function will return the leaderboard of a specific Raffle Link.
const raffleLeaderboard = await getRaffleLeaderboard({
link: link,
APIKey: 'doesnt-matter',
})It will return an array of objects with the following interface:
export interface IRaffleLeaderboardEntry {
address: string
name: string | null
amount: string
usdValue: string | null
tokenAddress: string
tokenSymbol: string
}Last updated