Identify the best price between V2 and V3 #5281
ubuntutest
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea is to get the best price in the swap, with V3 and V2.
Currently with V2 I use
getAmountsOut
to obtain the desired value, I would like to compare it with the one obtained with V3.Unfortunately
getAmountsOut
does not exist with V3.Is there any working example to get what I'm looking for? If not an example at least an indication.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions