Hi there, I’m using the Moralis.transfer function to send an ERC721 Token on polygon to a whitelisted user which works really good. The users are sending requests (using a react app + nodejs backend) and show that they are eligible to get the Token. The requests are listed in a queue and I only need to press the button to send the Token (using Moralis.transfer).
The Problem: Some users are eligible to get more (15-20) Token (all have the same contract address).
Is it possible to use a list of erc721 token and send them in one transaction because otherwise it would be very time and gas intensive for me.
Something like:
const options = {
type: "erc721",
receiver: "0x..",
contractAddress: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
**tokenIds: [1,3,6,19],**
};
let transaction = await Moralis.transfer(options);
would be great -> is there a way to do this “bulk transfer”?
Thanks for any idea or help