ERC1155ClaimConditions
Enables wallets to claim (mint) NFTs from the contract under specific conditions.
Claim a specified number of tokens to the connected wallet.
The token ID of the NFT you want to claim.
Must be a string
.
The number of tokens to claim.
Must be an int
.
The same as claim
, but allows specifying the recipient
address rather than using the connected wallet.
The wallet address to receive the claimed tokens.
Must be a string
.
The token ID of the NFT you want to claim.
Must be a string
.
The number of tokens to claim.
Must be an int
.
Check if tokens are currently available for claiming, optionally specifying if a specific wallet
address can claim.
The token ID of the NFT you want to claim.
Must be a string
.
The amount of tokens to claim.
This checks to see if the specified amount of tokens are available for claiming. i.e.:
- There is sufficient quantity available for claiming.
- This amount of tokens can be claimed in a single transaction.
Must be an int
.
The wallet address to check if it can claim tokens.
This considers all aspects of the active claim phase, including allowlists, previous claims, etc.
Must be a string
.
Returns a bool
indicating if the specified amount of tokens can be claimed or not.
Retrieve the currently active claim phase for a specific token ID, if any.
The token ID of the NFT you want to get the claim conditions for.
Must be a string
.
If a claim condition is active, returns a ClaimConditions
struct containing the following properties:
Get a list of reasons why a specific wallet address is not eligible to claim tokens, if any.
The token ID of the NFT you want to check if the wallet address can claim.
Must be a string
.
The amount of tokens to check if the wallet address can claim.
Must be a string
.
The wallet address to check if it can claim tokens.
Must be a string
.
Returns a list of ClaimEligibility
strings, which may be empty.
If the user is eligible to claim tokens, the method will return an empty array.
Returns allowlist information and merkle proofs for a given wallet address.
The token ID of the NFT you want to get the claimer proofs for.
Must be a string
.
The wallet address to get the merkle proofs for.
Must be a string
.