logo
ℹ️
These functions are not actively maintained! Use at your own risk!
This is a function that returns some basic information about the Raffle Link. Similar to getLinkDetails function but with raffle specific information.
plain text
const _raffleInfo = await peanut.getRaffleInfo({ link, APIKey: '', })
It will return an object with the following interface:
plain text
interface IRaffleInfo { chainId: string isActive: boolean totalSlotsNumber: number claimedSlotsNumber: number senderAddress: string senderName: string withMFA: boolean withCaptcha: boolean }
Share