airdropERC721WithSignature

Airdrops ERC721 tokens to a list of recipients, with the request signed by admin

Example

import { airdropERC721WithSignature, generateAirdropSignatureERC721 } from "thirdweb/extensions/airdrop";
import { sendTransaction } from "thirdweb";
const { req, signature } = await generateAirdropSignatureERC721(...)
const transaction = airdropERC721WithSignature({
contract,
req,
signature,
});
await sendTransaction({ transaction, account });

Parameters

Returns

A promise that resolves to the transaction result.