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

Filter accounts by balance #251

Open
altitude opened this issue Jun 30, 2022 · 3 comments
Open

Filter accounts by balance #251

altitude opened this issue Jun 30, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@altitude
Copy link
Member

No description provided.

@altitude altitude added the enhancement New feature or request label Jun 30, 2022
@nicoabie
Copy link
Contributor

We have a requirement of detecting when was the last time an account hit zero probably having the transaction that made that happen. So we can do calculations from that point onwards with the newer transactions after that event.

Is this ticket intended to solve this?

@nicoabie
Copy link
Contributor

@altitude looking at how data is stored in the log table a way to accomplish what I'm saying would be to query the postCommitVolumes.
I'd look if there exists that address in the volume and inside that address the asset's balance is zero.
If I order by txid I should have the last transaction.

does that make sense?

@xgenvn
Copy link

xgenvn commented May 11, 2023

Hi, just jump across the project and see it's great in terms of the arch. For this feature, is it reasonable to rely on transaction events, and event filtering to trigger different use cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants