Claim / Claim Conditions
Functionality available for contracts that implement the
IDropSinglePhase
or
IDropSinglePhase_V1
interfaces.
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}}");
Configuration
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}}");
Configuration
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}}");
Configuration
GetActive
Retrieve the currently active claim phase, if any.
var data = await contract.ERC20.claimConditions.GetActive();
Configuration
GetIneligibilityReasons
Get an array of reasons why a specific wallet address is not eligible to claim tokens, if any.
Configuration
GetClaimerProofs
Returns allowlist information and merkle proofs for a given wallet address.
var data = await contract.ERC20.claimConditions.GetClaimerProofs("{{wallet_address}}");