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