-
Notifications
You must be signed in to change notification settings - Fork 16
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
Substream to accumulate SOL balance for every account #111
Comments
@this-username-is-taken do we also want to be able to retrieve the balance of any address at any block? It doesn't seem like the eth-balance supports that, but maybe I am misunderstanding or reading this wrong |
yes, though we don't need to put data at every block in the store to retrieve that. SF provides a very nice way called "initial snapshots" that you can leverage. You can check it out here: https://github.com/this-username-is-taken/lido-balances, specifically https://github.com/this-username-is-taken/lido-balances/blob/37d00ff702e24588c0ae9e784fe93d5aa887ee57/main.py#L54. You can also use this mode in
|
Can use this dashboard to QA: https://messari.app.zettablock.com/my-workspace/queries/qu15-d679c88c-1a9b-4649-90a5-8f4614c16a8d |
you can use https://github.com/messari/substreams/tree/master/eth-balance as a reference
The text was updated successfully, but these errors were encountered: