As part of our POC, the PM on this project asked for a āsimple featureā that displays totalized token and nft value upon connecting up. So in simple terms, Iām being asked to get a sum for the owners nfts and other misc tokens and display them in the userās dashboard of our project (ideally in ETH or USD currency).
Wasnāt a big deal until we connected a live wallet with 1k NFTS. The code was extremely slow due to the nftPrice lookups. I agree there are many problems with this and its a rather silly feature to implement.
is there another endpoint that, by default, includes the price? if not, any recommendations on how I can solve this?
to give a little bit a backstory on this, our PM saw etherscanās ātokenholdingsā route on the main site and decided we needed to display a total value for the walletās assets like they do. ;-/