The current method to get the balance of a DAO is to use the tokenlist endpoint in blockscout's API. It's prone to returning a 500 error (and then the request needs to be done again). Furthermore, it is one of the few collectors still not updatable: it is the one that takes the most time to update, and we can't get data in a certain point in time.
The solution would be to get the list of transactions of the DAO and keep the count of each Token. Storing these transactions (optional) would also allow us to explore the relationships between DAOs and users.
The current method to get the balance of a DAO is to use the
tokenlist
endpoint in blockscout's API. It's prone to returning a 500 error (and then the request needs to be done again). Furthermore, it is one of the few collectors still not updatable: it is the one that takes the most time to update, and we can't get data in a certain point in time.The solution would be to get the list of transactions of the DAO and keep the count of each Token. Storing these transactions (optional) would also allow us to explore the relationships between DAOs and users.