I'm trying to develop a dApp where I need to be able to transfer all of a user's NFTs to another wallet.
As I see it, this can be accomplished by looping through each smart contract the user owns NFTs on, and calling
setApprovalForAll with the operator being an address I control. However, each call to
setApprovalForAll requires a transaction to be executed, which can be very cumbersome for larger wallets.
How can I execute a single transaction which gives me access to all NFTs a user owns? Is there a way to bundle each
setApprovalForAll call into a single transaction?