Skip to main content

class ERC20ClaimConditions

class ERC20ClaimConditions
: public Thirdweb.Routable

Fetch claim conditions for a given ERC20 drop contract

Summary

MembersTypeDescriptions
ERC20ClaimConditionsfunction
GetActivefunctionGet the active claim condition
CanClaimfunctionCheck whether the connected wallet is eligible to claim
GetIneligibilityReasonsfunctionGet the reasons why the connected wallet is not eligible to claim
GetClaimerProofsfunctionGet the special values set in the allowlist for the given wallet

Members

public inline ERC20ClaimConditions(string parentRoute)


public inline async Task< ClaimConditions>GetActive()

Get the active claim condition


public inline async Task< bool > CanClaim(string quantity,string? addressToCheck)

Check whether the connected wallet is eligible to claim


public inline async Task< string[]> GetIneligibilityReasons(string quantity,string? addressToCheck)

Get the reasons why the connected wallet is not eligible to claim


public inline async Task< bool > GetClaimerProofs(string claimerAddress)

Get the special values set in the allowlist for the given wallet