airdropERC721

Prepares a transaction to call the "airdropERC721" function on the contract.

Example

import { sendTransaction } from "thirdweb";
import { airdropERC721 } from "thirdweb/extensions/airdrop";
const transaction = airdropERC721({
contract,
tokenAddress: ...,
contents: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });
function airdropERC721(
| { asyncParams: () => Promise<AirdropERC721Params> }
>,

Parameters

The options for the "airdropERC721" function.

Type

| { asyncParams: () => Promise<AirdropERC721Params> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.