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

getAmountsOut returns amount which is way less than the actual amount showing in UniSwap app #212

Open
0AX0A opened this issue Mar 22, 2024 · 1 comment

Comments

@0AX0A
Copy link

0AX0A commented Mar 22, 2024

we are using getAmountsOut function to get the estimated amount of token to be swapped , once we pass 8.7 eth , the amount of specific token it returns as raw value is something around 7.9 eth and we got sandwiched.

What can be the possible issue here ?

image (6)

@theclamss
Copy link

Same problem

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

2 participants