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

quote for exactOut has correct quote value but incorrect gas estimate because it's for a quote going the wrong direction #7

Open
steezeburger opened this issue Mar 7, 2025 · 0 comments
Assignees

Comments

@steezeburger
Copy link
Member

Sort of hard to explain and quickly writing this before needing to leave, but it's causing us to make a 2nd request to get a quote for the "correct" direction of swap using the value we got from the first quote as amount in for an exactIn quote.

Can we make changes to the API to alleviate this issue?

Need to also just double check exactOut vs exactIn logic and see if there is anything else we can improve in the api to make f/e life easier.

@steezeburger steezeburger self-assigned this Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant