class ERC20ClaimConditions
class ERC20ClaimConditions
: public Thirdweb.Routable
Fetch claim conditions for a given ERC20 drop contract
Summary
| Members | Type | Descriptions |
|---|---|---|
| ERC20ClaimConditions | function | |
| GetActive | function | Get the active claim condition |
| CanClaim | function | Check whether the connected wallet is eligible to claim |
| GetIneligibilityReasons | function | Get the reasons why the connected wallet is not eligible to claim |
| GetClaimerProofs | function | Get 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