-
Notifications
You must be signed in to change notification settings - Fork 108
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
Store amount
and owner
(not program) of token account
#61
Comments
It is possible. But since we already have the information, you can just join the two tables: spl_token_owner_index and account table. |
Hmm could do that but the amount of tokens in the token account is not exposed in a column. Will it take too much space in database if all the accounts are stored with their deserialized data? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to store
amount
andowner
of token account inspl_token_owner_index
table and update it same way the items ofaccount
table is kept up to date? @lijunwangsThe text was updated successfully, but these errors were encountered: