Docs

ERC1155ClaimConditions

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

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

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

GetActive

Retrieve the currently active claim phase for a specific token ID, if any.

var data = await contract.ERC1155.ClaimConditions.GetActive("{{token_id}}");

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

GetClaimerProofs

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

var data = await contract.ERC1155.ClaimConditions.GetClaimerProofs("{{token_id}}", "{{wallet_address}}");