Home > @3rdweb/sdk > BundleDropModule > claimTo
Claim NFTs to Wallet
Signature:
claimTo(tokenId: BigNumberish, quantity: BigNumberish, addressToClaim: string, proofs?: BytesLike[]): Promise<TransactionReceipt>;
| Parameter | Type | Description |
|---|---|---|
| tokenId | BigNumberish | Id of the token you want to claim |
| 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;
// The token ID of the NFT you want to claim
const tokenId = "0"
await module.claimTo(tokenId, quantity, address);