airdropERC20

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

Example

import { airdropERC20 } from "thirdweb/extensions/airdrop";
const transaction = airdropERC20({
contract,
tokenAddress: ...,
contents: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.