thirdweb's AirdropERC1155 contract
Airdrop ERC1155 NFTs to a list of recipients.
The AirdropERC1155
contract is suitable to use when you want to transfer ERC1155 NFTs to a list of recipient addresses, where these recipients are not expected to individually claim their airdrop; they just receive it in a transfer.
When airdropping tokens with this contract, you specify:
The address of the Edition (ERC-1155 contract) from which NFTs are being transferred.
The owner address of the NFTs from where the NFTs will be transferred to a list of the recipients.
The list of recipients of the airdrop.
The corresponding list token ID of the NFT to airdrop to per recipient in the recipient list.
The corresponding list for the amount of tokens to airdrop per recipient in the recipient list.
Estimated gas costs for airdropping tokens:
Cost of airdropping 1 ERC1155 token: ~51,571
gas. Cost of airdropping each additional ERC1155 token: ~42,672
gas.
Airdrop
(airdrop)
nonpayable
Lets contract-owner send ERC1155 tokens to a list of addresses.
Inputs
_tokenAddress | address |
_tokenOwner | address |
_recipients | address[] |
_amounts | uint256[] |
_tokenIds | uint256[] |
Details
Publish Date
Dec 02, 2022
Licenses
Apache-2.0, MIT
Factory Enabled
Implementations
Factories