Docs

airdropERC1155

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

Example

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

Parameters

Returns

A prepared transaction object.