Docs

ERC721ClaimConditions

Allows you to create a claim phase for an ERC721 token.

Claim

Claim a specified number of tokens to the connected wallet.

var data = await contract.ERC721.Claim(1);

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);

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}}");

TotalClaimedSupply

Get the total number of tokens claimed from the drop so far.

var data = await contract.ERC721.TotalClaimedSupply();

TotalUnclaimedSupply

Get the total number of tokens that are still available to be claimed from the drop.

var data = await contract.ERC721.TotalUnclaimedSupply();

GetActive

Retrieve the currently active claim phase, if any.

var data = await contract.ERC721.ClaimConditions.GetActive();

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}}");

GetClaimerProofs

Returns allowlist information and merkle proofs for a given wallet address.

var data = await contract.ERC721.ClaimConditions.GetClaimerProofs("{{wallet_address}}");