v2-periphery icon indicating copy to clipboard operation
v2-periphery copied to clipboard

swapExactTokensForETHSupportingFeeOnTransferTokens Number of Tokens Received

Open aress31 opened this issue 3 years ago • 1 comments

Could anyone please explain detail an elegant way to determine the exact number of tokens received upon calling swapExactTokensForETHSupportingFeeOnTransferTokens.

It is a bit odd that unlike its brother swapExactTokensForETH nothing is returned by this function...

aress31 avatar May 05 '21 21:05 aress31

See if the solution you seek to the problem is solved by read getAmountOut directly from Uniswap's V2 route contract.

italoHonoratoSA avatar May 02 '22 21:05 italoHonoratoSA