We are implementing the flashloan arbitrage bot and trying to fetch the real-time price.
Kindly guide which is the best way to fetch the price
We are implementing the flashloan arbitrage bot and trying to fetch the real-time price.
Kindly guide which is the best way to fetch the price
There is getTokenPrice but it may not be real-time. For something like a bot, it may be better to query the DEX directly (via contract or API/SDK).