0

I am trying to understand a token swap transaction via Uniswap on Etherscan. Looking at the Uniswap V2: Router 2 contract for a transaction, I see the following;

Etherscan output

My question is regarding the second Transfer of 0.002691070168940434 Ether from the Uniswap V2 Router 2 to the From address for the transaction. I see that this amount is added to the swap amount to get the amount in the Value field. What is this amount and what purpose does it serve?

1

It is leftover ETH that was returned to your wallet as a change.

For more detail, you chose to swap by specifying the exact output amount (Doge Reload), so the web calculated the ETH input needed (~0.092 ETH) which was a little more than actual use (~0.089 ETH). So the router returned ~0.002 ETH.

Read more: https://uniswap.org/docs/v2/smart-contracts/router02/#swapethforexacttokens

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.