I'm trying to find a way round using the ERC721Enumerable.sol extension because it essentially doubles the gas fees on minting but the tokenOfOwnerByIndex()
function is a bit of an essential for what i'm doing. I basically want to get a list of all the token ids owned by a particular address as quickly and easily as possible.
Anyone have any thoughts on a workaround? Even something off-chain? I did have something going using the Etherscan API to query a wallet and then sort though results to get the tokens they own but it can be a little slow. I have also tried Moralis.io but they can take a few minutes to index onchain events which can be an issue for UX in my particular use case.