Does anyone know how to get the price of a token on uniswap from a contract? Thanks a lot

Oct 11, 2020, 2:24 PM
think you have to divide the getReserves
thats what getAmountsOut. does. pass in the path and the input amount and it'll return the output
Oct 11, 2020, 2:43 PM
don't understand
Oct 11, 2020, 2:43 PM
https://uniswap.org/docs/v2/advanced-topics/pricing/
Oct 11, 2020, 2:44 PM
Someone know Gelato ?
Oct 11, 2020, 4:29 PM

© 2024 Draquery.com All rights reserved.