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

Integrate DeBank API #899

Open
dioptx opened this issue Oct 18, 2024 · 0 comments
Open

Integrate DeBank API #899

dioptx opened this issue Oct 18, 2024 · 0 comments

Comments

@dioptx
Copy link
Contributor

dioptx commented Oct 18, 2024

Description:

We need to integrate the DeBank API to pull wallet portfolio/TVL data. This API will help us retrieve DeFi wallet balances, token allocations, and asset distribution for specific addresses.

Requirements:

  • Implement a function to pull portfolio data using the DeBank API.
  • Set up a process to pass Ethereum addresses to the API and retrieve token and balance information.
  • Store the fetched data in BigQuery.
  • Ensure that the API requests are rate-limited appropriately to avoid hitting the API limits. (This could already be handled by our utils)
  • Add error handling for cases where data retrieval fails (e.g., invalid addresses or network issues).

Acceptance Criteria:

  • We can successfully pull DeFi portfolio data for a given Ethereum address.
  • Tests for any functions are built and any pre-processing needed performed
  • Data is stored in BigQuery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant