swapTokensForExactETH
This method swaps an amount of one ERC20 tokens (_token0
) for an exact amount of ether.
Function
Parameters
Parameter | Description |
---|---|
| The address of the recipient. |
| An ERC20 token address. |
| The amount of ether that one wants to receive. |
| The maximal amount of |
| The UTC timestamp that if reached, causes the swap transaction to fail automatically. |
Return values
Value | Description |
---|---|
| The amount of |
Last updated