Home > @3rdweb/sdk > DropModule > claimTo
Claim NFTs to Wallet
Signature:
claimTo(quantity: BigNumberish, addressToClaim: string, proofs?: BytesLike[]): Promise<TransactionReceipt>;
Parameter | Type | Description |
---|---|---|
quantity | BigNumberish | Quantity of the tokens you want to claim |
addressToClaim | string | Address you want to send the token to |
proofs | BytesLike[] | Array of proofs |
Returns:
Promise<TransactionReceipt>
Let the a specified wallet claim NFTs.
// Address of the wallet you want to claim the NFTs
const address = "";
// The number of NFTs to claim
const quantity = 1;
await module.claimTo(quantity, address);