-
Notifications
You must be signed in to change notification settings - Fork 118
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
feat: ft holder indexing #2030
feat: ft holder indexing #2030
Conversation
Vercel deployment URL: https://stacks-blockchain-jzaqvt3y4-hirosystems.vercel.app 🚀 |
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
5abaef1
to
5a350ed
Compare
1ef7413
to
889675d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Looks great, just a couple questions
notNull: true, | ||
}, | ||
balance: { | ||
type: 'numeric', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming this is the raw number without the metadata decimals for each token, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep that is correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to Rafael's notes
## [7.13.0-beta.1](v7.12.0...v7.13.0-beta.1) (2024-07-15) ### Features * ft holder indexing ([#2030](#2030)) ([815c16f](815c16f))
🎉 This PR is included in version 7.13.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 7.13.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #1985
Implements indexing code to track (FT, account) balances
This data is exposed in a new endpoint:
/extended/v1/tokens/ft/{token}/holders
Examples
GET /extended/v1/tokens/ft/stx/holders