typescript-sdk

Home > @3rdweb/sdk > DropModule > claimTo

DropModule.claimTo() method

Claim NFTs to Wallet

Signature:

claimTo(quantity: BigNumberish, addressToClaim: string, proofs?: BytesLike[]): Promise<TransactionReceipt>;

Parameters

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>

Remarks

Let the a specified wallet claim NFTs.

Example

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