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

ErgoDEX API "all pool stats" should return pool_id in response #38

Open
Eeysirhc opened this issue Apr 2, 2022 · 0 comments
Open

ErgoDEX API "all pool stats" should return pool_id in response #38

Eeysirhc opened this issue Apr 2, 2022 · 0 comments

Comments

@Eeysirhc
Copy link

Eeysirhc commented Apr 2, 2022

Issue: there are two API calls which require the p1 parameter (assuming it is pool_id), "pool locks" and "pool stats". Without this information, API users will not know where to get that data and excludes them from using this service.

Currently you can get the pool_id by...

  1. Running backend DB service and looking up the pool_id from pools table
  2. Ask someone else for the list (https://github.com/Eeysirhc/ergodex-price-app/blob/main/ergodex-pool_id.csv)

Proposal: include the p1/pool_id value in the response for "all pool stats" API call (which I think makes the most sense).

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