Prepares a transaction to call the "airdropERC721" function on the contract.
import { sendTransaction } from "thirdweb";import { airdropERC721 } from "thirdweb/extensions/airdrop"; const transaction = airdropERC721({ contract, tokenAddress: ..., contents: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function airdropERC721( options: BaseTransactionOptions< | AirdropERC721Params | { asyncParams: () => Promise<AirdropERC721Params> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "airdropERC721" function.
let options: BaseTransactionOptions< | AirdropERC721Params | { asyncParams: () => Promise<AirdropERC721Params> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.