airdropERC1155WithSignature

Airdrops ERC1155 tokens to a list of recipients, with the request signed by admin

Example

import { airdropERC1155WithSignature, generateAirdropSignatureERC1155 } from "thirdweb/extensions/airdrop";
import { sendTransaction } from "thirdweb";
const { req, signature } = await generateAirdropSignatureERC1155(...)
const transaction = airdropERC1155WithSignature({
contract,
req,
signature,
});
await sendTransaction({ transaction, account });

Parameters

Returns

A promise that resolves to the transaction result.