useAirdropNFT
Hook for airdropping ERC1155
NFT tokens to multiple wallet addresses at once.
Available to use on smart contracts that implement the ERC1155
standard.
Performs a batch transfer from the connected wallet to the specified addresses. This means you need to have the total number of tokens you wish to airdrop available in the wallet that performs this transaction.
Example
Parameters
Returns
Mutation object that to transfer batch NFTs
options
The mutation function takes an object with the following properties:
tokenId
The token ID of the NFT to airdrop.
addresses
An array of objects containing an address
and quantity
of NFTs to airdrop to each address.