airdropERC20WithSignature

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

Example

import { airdropERC20WithSignature } from "thirdweb/extensions/airdrop";
const transaction = airdropERC20WithSignature({
contract,
req: ...,
signature: ...,
overrides: {
...
}
});
// Send the transaction
...
function airdropERC20WithSignature(
| AirdropERC20WithSignatureParams
| { asyncParams: () => Promise<AirdropERC20WithSignatureParams> }
>,

Parameters

The options for the "airdropERC20WithSignature" function.

Type

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

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.