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

Transactions gas history series #358

Merged
merged 4 commits into from
Dec 8, 2024
Merged

Conversation

owl352
Copy link
Collaborator

@owl352 owl352 commented Dec 5, 2024

Issue

For gas chart on home page we need data-series from API about gas, which was spent

Things done

Added new enpoint /transactions/gas/history, which allows to get data-series, like in other places (transactions/history and etc)
This endpoint binded to new method in Transactions Controller, which calling data form indexer via TransactionsDAO.
Also updated README.md and added new integration tests

@owl352 owl352 added the backend Related to backend (API) label Dec 5, 2024
@owl352 owl352 self-assigned this Dec 5, 2024
Copy link

vercel bot commented Dec 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer-mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 6:02pm
platform-explorer-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 6:02pm

@owl352 owl352 linked an issue Dec 5, 2024 that may be closed by this pull request
@owl352 owl352 merged commit 3168bf1 into develop Dec 8, 2024
9 checks passed
@owl352 owl352 deleted the feat/transactions-gas-history branch December 8, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add average gas transaction price on the homepage
2 participants