Skip to content

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

Description

@daviddavo

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions