Skip to main content

Erc721ClaimableWithConditions class

Configure and claim ERC721 NFTs

Example

const contract = await sdk.getContract("{{contract_address}}");
await contract.erc721.claim(quantity);
await contract.erc721.claimConditions.getActive();

Constructors

ConstructorModifiersDescription
(constructor)(erc721, contractWrapper, storage)Constructs a new instance of the Erc721ClaimableWithConditions class

Properties

PropertyModifiersTypeDescription
conditionsDropClaimConditions<BaseClaimConditionERC721>Configure claim conditions
featureName"ERC721ClaimableWithConditions"

Methods

MethodModifiersDescription
getClaimTransaction(destinationAddress, quantity, options)Construct a claim transaction without executing it. This is useful for estimating the gas cost of a claim transaction, overriding transaction options and having fine grained control over the transaction execution.
to(destinationAddress, quantity, options)Claim unique NFTs to a specific Wallet

Signature:

export declare class Erc721ClaimableWithConditions implements DetectableFeature

Implements: DetectableFeature

Remarks

Manage claim phases and claim ERC721 NFTs that have been lazily minted.