Skip to content

Update to use balances_by_account#473

Merged
DenisCarriere merged 1 commit intomainfrom
fix/balances_by_account
Apr 15, 2026
Merged

Update to use balances_by_account#473
DenisCarriere merged 1 commit intomainfrom
fix/balances_by_account

Conversation

@DenisCarriere
Copy link
Copy Markdown
Contributor

This pull request updates the src/routes/balances/svm.sql query to improve data accuracy and maintainability. The main change is switching the source table for balances and adjusting the grouping logic.

Balances query improvements:

  • Changed the source table from balances to balances_by_account in the FROM clause, likely to use a more accurate or efficient dataset for account balances.
  • Updated the GROUP BY clause to group by b.account, b.program_id, b.mint, b.decimals instead of the previous order, ensuring correct aggregation and possibly aligning with the new source table's schema.

@YaroShkvorets YaroShkvorets temporarily deployed to fix/balances_by_account - token-api PR #473 April 15, 2026 17:34 — with Render Destroyed
@DenisCarriere DenisCarriere merged commit 2726162 into main Apr 15, 2026
2 of 3 checks passed
@DenisCarriere DenisCarriere deleted the fix/balances_by_account branch April 15, 2026 20:19
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

Successfully merging this pull request may close these issues.

2 participants