Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get amount of tokens by processing blockscout's transactions #6

Open
daviddavo opened this issue Sep 6, 2023 · 0 comments
Open

Get amount of tokens by processing blockscout's transactions #6

daviddavo opened this issue Sep 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@daviddavo
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant