Created on 26th February 2023
•
The FLOW peer-to-peer mechanisms make things more difficult when you need to know the collection names you want to query.
I struggled to load a user's public data generically, but eventually, I found the dapper maintained flow catalog list. By using this list, I could loop over known collections to load NFTs from a user's wallet.
Additionally, large wallets were too much for the Cadence collection script I was using. It would hit resource limits for the query and timeout or return no results.
I had to modify the cadence code to page through collections 15 at a time. This fixed the issue for the majority of wallets.
I still think improvements can be made to more accurately target the collections a user has and I hope to add those in a future version.
Tracks Applied (4)
Dapper
Flovatar