Docs

ERC20ClaimConditions

Enables wallets to claim (mint) tokens from the contract under specific conditions.

Claim

Claim a specified number of tokens to the connected wallet.

var data = await contract.ERC20.Claim("{{amount}}");

ClaimTo

The same as claim, but allows specifying the recipient address rather than using the connected wallet.

var data = await contract.ERC20.ClaimTo("{{wallet_address}}", "{{amount}}");

CanClaim

Check if tokens are currently available for claiming, optionally specifying if a specific wallet address can claim.

var data = await contract.ERC20.claimConditions.CanClaim("{{quantity}}", "{{wallet_address}}");

GetActive

Retrieve the currently active claim phase, if any.

var data = await contract.ERC20.claimConditions.GetActive();

GetIneligibilityReasons

Get an array of reasons why a specific wallet address is not eligible to claim tokens, if any.

GetClaimerProofs

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

var data = await contract.ERC20.claimConditions.GetClaimerProofs("{{wallet_address}}");