According to maticjs withdrawExitMany function is only supported till Matic.js v3.3.0.
What we can instead use is the withdrawExitOnIndex() method
GIST TO CODESAMPLE:
burn 5 NFTs in one batch tx on Polygon: withdrawBatch.ts
check if the burn transaction hash has been checkpointed: isCheckpointed.ts
exit the batch on Ethereum & claim the 5 NFTs on Ethereum: withdrawExitOnIndexERC721.ts
with withdrawExitMany() being deprecated.
how many times does a user have to sign the exit transaction on Ethereum to claim the 5 NFTs? Answer: the number of NFTs you are burning = 5 times
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article