depositMany
The depositMany
method can be used to deposit multiple token from ethereum to polygon chain.
const erc721RootToken = posClient.erc721(<root token address>, true);
const result = await erc721RootToken.depositMany([<token id1>,<token id2>], <user address>);
const txHash = await result.getTransactionHash();
const txReceipt = await result.getReceipt();