Timeline for Why is there a price difference for pair contracts and swap pair contracts in Uniswap?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 13, 2021 at 13:46 | comment | added | Undead8 | No, the transaction fee on etherscan is the gas fee paid to the miners. It is paid in ETH from the wallet. The fee paid to liquidity provider and slippage is not shown on etherscan and is embedded in the amount you receive from the swap. | |
Dec 12, 2021 at 20:43 | comment | added | ElHaix | I see, so the liquidity provider fee, is the Transaction fee, seen in Etherscan? For Flash Loans they can be higher than $400. This comes out of the amount received from the swap? So transaction fees do not come out of your wallet, only gas fees? i.e. etherscan.io/tx/… | |
Dec 12, 2021 at 18:34 | comment | added | Undead8 | I don't know about the getExpectedReturnWithGas. However, the gas and the liquidity provider fee of 0.2%-0.3% are two different things. You always pay the gas fee in Eth from your wallet (paid to miners), while the liquidity provider fee will be taken out of the amount you received from the swap and will stay in the pair pool. | |
Dec 12, 2021 at 1:16 | vote | accept | ElHaix | ||
Dec 12, 2021 at 1:16 | comment | added | ElHaix | Great response! I also noticed that the % difference changes on the app from small to larger amounts. Now, I noticed v2, methods.getExpectedReturnWithGas(), which would be in Gwei, right? That's different than the Transaction Fee. Is that the 0.2%-0.3% you mentioned? Those fees come out of your wallet though, right? | |
Dec 12, 2021 at 0:21 | history | answered | Undead8 | CC BY-SA 4.0 |