airdropERC1155WithSignature

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

Example

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

Parameters

The options for the "airdropERC1155WithSignature" function.

Type

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

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.