Hi
How i can identify that do i need to use swapExactTokensForETH or swapExactTokenForETHSupportingFeeOnTransferToken for a token?
Or
How i can identify that token has fee on transfer or not has fee on transfer?
Or
How uniswap identify that it needs to call swapExactTokenForETH or swapExactTokenForETHSupportingFeeOnTransferToken for a swap?

Feb 27, 2021, 8:46 AM
Good questions. I'm not sure but I think the uniswap web interface doesn't use the fee version ever. Mostly because it can't know when to use it. And I don't think you can either - without trial and error, or other prior knowledge
Feb 27, 2021, 8:53 PM

© 2024 Draquery.com All rights reserved.