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