Prepares a transaction to call the "airdropERC20" function on the contract.
import { sendTransaction } from "thirdweb";import { airdropERC20 } from "thirdweb/extensions/airdrop"; const transaction = airdropERC20({ contract, tokenAddress: ..., contents: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function airdropERC20( >,
The options for the "airdropERC20" function.
>;
A prepared transaction object.