class ERC1155ClaimConditions
class ERC1155ClaimConditions
: public Thirdweb.Routable
Fetch claim conditions for a given ERC1155 drop contract
Summary
| Members | Type | Descriptions |
|---|---|---|
| ERC1155ClaimConditions | 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 ERC1155ClaimConditions(string parentRoute)
public inline async Task< ClaimConditions>GetActive(string tokenId)
Get the active claim condition
public inline async Task< bool > CanClaim(string tokenId,int quantity,string addressToCheck)
Check whether the connected wallet is eligible to claim
public inline async Task< string[]> GetIneligibilityReasons(string tokenId,int quantity,string addressToCheck)
Get the reasons why the connected wallet is not eligible to claim
public inline async Task< bool > GetClaimerProofs(string tokenId,string claimerAddress)
Get the special values set in the allowlist for the given wallet