Claim / Claim Conditions
Functionality available for contracts that implement the
IDropSinglePhase
interface or the
Drop1155
contract.
Enables wallets to claim (mint) NFTs from the contract under specific conditions.
Claim
Claim a specified number of tokens to the connected wallet.
var data = await contract.ERC1155.Claim("{{token_id}}", 1);
Configuration
ClaimTo
The same as claim
, but allows specifying the recipient
address rather than using the connected wallet.
var data = await contract.ERC1155.ClaimTo("{{wallet_address}}", "{{token_id}}", 1);
Configuration
CanClaim
Check if tokens are currently available for claiming, optionally specifying if a specific wallet address can claim.
var data = await contract.ERC1155.claimConditions.CanClaim("{{token_id}}", 1, "{{wallet_address}}");
Configuration
GetActive
Retrieve the currently active claim phase for a specific token ID, if any.
var data = await contract.ERC1155.claimConditions.GetActive("{{token_id}}");
Configuration
GetIneligibilityReasons
Get a list of reasons why a specific wallet address is not eligible to claim tokens, if any.
var data = await contract.ERC1155.claimConditions.GetIneligibilityReasons("{{token_id}}", 1, "{{wallet_address}}");
Configuration
GetClaimerProofs
Returns allowlist information and merkle proofs for a given wallet address.
var data = await contract.ERC1155.claimConditions.GetClaimerProofs("{{token_id}}", "{{wallet_address}}");