swapExactTokensForETH
This method swaps an exact amount of one ERC20 token (_token0
) for ether.
Function
Parameters
Parameter | Description |
---|---|
| The address of the recipient. |
| An ERC20 token address. |
| The amount of _token0 to be swapped. |
| The minimal amount of ether that the user will accept for a given amount of |
| The UTC timestamp that if reached, causes the swap transaction to fail automatically. |
Return values
Value | Description |
---|---|
| The amount of |
Last updated