Hi , does anyone know how I can find all pairs (Pair[]) for bestTradeExactIn method of uniswap sdk ?

Because I want to find best route for my swap

Jun 27, 2022, 3:58 PM
Jun 27, 2022, 4:09 PM
Thanks man, can I use it for pancake swap too ?
Jun 27, 2022, 4:12 PM
yes i think, but this is for v2
Jun 27, 2022, 4:13 PM
Thank you
Jun 27, 2022, 4:14 PM
you welcome. Can i ask you? What is the best or easest way to connect and get data from subgraph?
Jun 27, 2022, 4:20 PM
It's first time that I want to use subgraph but I think It cant be easy 😄
Jun 27, 2022, 4:29 PM
One user on a project I've worked on, made me a subgraph to recover from Moralis missing events.
I simply do the POST call to subgraph and parse the data, but i don't know yet how to configure it from scratch
Jun 27, 2022, 5:08 PM
thank you
Jun 27, 2022, 5:42 PM

© 2024 Draquery.com All rights reserved.