Claim / Claim Conditions
Functionality available for contracts that implement the
LazyMint
contract and either the
Drop
contract (for claim conditions and claiming), or the
IClaimableERC721
contract (for claiming only).
Claim
Claim a specified number of tokens to the connected wallet.
var data = await contract.ERC721.Claim(1);
Configuration
ClaimTo
The same as claim
, but allows specifying the recipient
address rather than using the connected wallet.
var data = await contract.ERC721.ClaimTo("{{wallet_address}}", 1);
Configuration
CanClaim
Check if tokens are currently available for claiming, optionally specifying if a specific wallet address can claim.
var data = await contract.ERC721.claimConditions.CanClaim(1, "{{wallet_address}}");
Configuration
TotalClaimedSupply
Get the total number of tokens claimed from the drop so far.
var data = await contract.ERC721.TotalClaimedSupply();
Configuration
TotalUnclaimedSupply
Get the total number of tokens that are still available to be claimed from the drop.
var data = await contract.ERC721.TotalUnclaimedSupply();
Configuration
GetActive
Retrieve the currently active claim phase, if any.
var data = await contract.ERC721.claimConditions.GetActive();
Configuration
GetIneligibilityReasons
Get an array of reasons why a specific wallet address is not eligible to claim tokens, if any.
var data = await contract.ERC721.claimConditions.GetIneligibilityReasons(1, "{{wallet_address}}");
Configuration
GetClaimerProofs
Returns allowlist information and merkle proofs for a given wallet address.
var data = await contract.ERC721.claimConditions.GetClaimerProofs("{{wallet_address}}");