Skip to main content

class ERC1155ClaimConditions

class ERC1155ClaimConditions
: public Thirdweb.Routable

Fetch claim conditions for a given ERC1155 drop contract

Summary

MembersTypeDescriptions
ERC1155ClaimConditionsfunction
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 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