swapTokensForExactTokens
This method swaps an amount of one ERC20 tokens (_token0
) for an exact amount of another one (_token1
).
Function
Parameters
Parameter | Description |
---|---|
| The address of the recipient. |
| An ERC20 token address. |
| An ERC20 token address. |
| The amount of |
| 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