-
Notifications
You must be signed in to change notification settings - Fork 296
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: swaps indexing #4776
feat: swaps indexing #4776
Conversation
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.
We probably want to record some more information in the swap table, like having the trading pair their, the total amount of inputs and outputs for each asset, the unfilled amounts, et.c
There's also an event for |
477964a
to
6877a7f
Compare
I believe this PR would unlock using the native indexer to get things like 24 hour swap volumes which would be really helpful to go to market efforts. How can I support getting it merged? |
Adds the missing trace for the other direction in the swap.
7615b72
to
c94ccd5
Compare
Describe your changes
implements indexing of swaps to satisfy the
/api/swaps
endpointIssue ticket number and link
fixes #4744
Checklist before requesting a review
If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:
Indexer-only changes