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

Remove total accounts workaround #1009

Open
janmichek opened this issue Dec 13, 2024 · 0 comments
Open

Remove total accounts workaround #1009

janmichek opened this issue Dec 13, 2024 · 0 comments
Labels
enhancement New feature or request waiting for mdw Waiting for middleware release to unlock it
Milestone

Comments

@janmichek
Copy link
Collaborator

Please describe the problem that your request should resolve.

To display total accounts I take the value from
https://mainnet.aeternity.io/mdw/v3/stats/total-accounts?interval_by=month&limit=100

and sum it on FE. Which is ok for now

totalAccountsCount.value = data.data.reduce((total, item) => total + parseInt(item.count), 0)

Describe the solution you'd like

once... will be implemented, we can use clean solution, just directly print value from response.

Is it already possible to achieve the same outcome in any other way? If so, how?

yes but sum manually

Additional context

MDW Tracking aeternity/ae_mdw#2040

@janmichek janmichek added enhancement New feature or request waiting for mdw Waiting for middleware release to unlock it labels Dec 13, 2024
@janmichek janmichek added this to the Q1 2025 milestone Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting for mdw Waiting for middleware release to unlock it
Projects
None yet
Development

No branches or pull requests

1 participant