<aside> ℹ️

These functions are not actively maintained! Use at your own risk!

</aside>

This is a function that returns some basic information about the Raffle Link. Similar to getLinkDetails function but with raffle specific information.

const _raffleInfo = await peanut.getRaffleInfo({
                link,
                APIKey: '',
            })

It will return an object with the following interface:

interface IRaffleInfo {
	chainId: string
	isActive: boolean
	totalSlotsNumber: number
	claimedSlotsNumber: number
	senderAddress: string
	senderName: string
	withMFA: boolean
	withCaptcha: boolean
}