Get Raffle Info

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({
                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

Last updated