Skip to content

getIsWhitelistOnly

Checks is airdrop is public or not.

Usage

example.ts
import { mintclub } from 'mint.club-v2-sdk'
 
const isPublic = await mintclub.network('base').airdrop.getIsWhitelistOnly(1) 

Return Value

Promise<boolean>

Parameters

id

  • Type: number

Airdrop id.