Open lamman1820 opened 3 years ago
it's on the list will get round to this when I can! thanks
I'd love this. It would allow me to assist the users with slippage for deflationary/fee tokens to prevent failed swaps as they require a higher slippage than normal.
Thank you for this nice library, was price impact added to it, could not find it in examples.
Also curious if price impact is available @joshstevens19 / @liu-zhipeng or is planned by any chance? Most likely its not implemented yet if I'm not mistaken
Alternatively if the trade
object could return reserves for each pool involved (depending on the route) this could be calculated accordingly to user input without refetching data?
Dear Author,
Can you add the priceImpact property into the Trade information?
Regards