I have a list/array/map of addresses.

I want to keep track of their balances on the front end. Currently, the front end is calling the balanceOf() function for each address and updating based on the response.

However, this is getting time-consuming. So I need a way of getting data faster instead of calling Blockchain separately for each address.

I would appreciate any advice on how to deal with this.

  • 1
    See The Graph and Multicall. Oct 20 at 14:29
  • Not sure about The Graph, but the Multicall seems like the right choice in my situation. Will go over it.
    – Sky
    Oct 20 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.