I Uniswap V 2 Router 02
Methods
WETH
Returns
_0
address
undefined
addLiquidity
Parameters
tokenA
address
undefined
tokenB
address
undefined
amountADesired
uint256
undefined
amountBDesired
uint256
undefined
amountAMin
uint256
undefined
amountBMin
uint256
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amountA
uint256
undefined
amountB
uint256
undefined
liquidity
uint256
undefined
addLiquidityETH
Parameters
token
address
undefined
amountTokenDesired
uint256
undefined
amountTokenMin
uint256
undefined
amountETHMin
uint256
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amountToken
uint256
undefined
amountETH
uint256
undefined
liquidity
uint256
undefined
factory
Returns
_0
address
undefined
getAmountIn
Parameters
amountOut
uint256
undefined
reserveIn
uint256
undefined
reserveOut
uint256
undefined
Returns
amountIn
uint256
undefined
getAmountOut
Parameters
amountIn
uint256
undefined
reserveIn
uint256
undefined
reserveOut
uint256
undefined
Returns
amountOut
uint256
undefined
getAmountsIn
Parameters
amountOut
uint256
undefined
path
address[]
undefined
Returns
amounts
uint256[]
undefined
getAmountsOut
Parameters
amountIn
uint256
undefined
path
address[]
undefined
Returns
amounts
uint256[]
undefined
quote
Parameters
amountA
uint256
undefined
reserveA
uint256
undefined
reserveB
uint256
undefined
Returns
amountB
uint256
undefined
removeLiquidity
Parameters
tokenA
address
undefined
tokenB
address
undefined
liquidity
uint256
undefined
amountAMin
uint256
undefined
amountBMin
uint256
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amountA
uint256
undefined
amountB
uint256
undefined
removeLiquidityETH
Parameters
token
address
undefined
liquidity
uint256
undefined
amountTokenMin
uint256
undefined
amountETHMin
uint256
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amountToken
uint256
undefined
amountETH
uint256
undefined
removeLiquidityETHSupportingFeeOnTransferTokens
Parameters
token
address
undefined
liquidity
uint256
undefined
amountTokenMin
uint256
undefined
amountETHMin
uint256
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amountETH
uint256
undefined
removeLiquidityETHWithPermit
Parameters
token
address
undefined
liquidity
uint256
undefined
amountTokenMin
uint256
undefined
amountETHMin
uint256
undefined
to
address
undefined
deadline
uint256
undefined
approveMax
bool
undefined
v
uint8
undefined
r
bytes32
undefined
s
bytes32
undefined
Returns
amountToken
uint256
undefined
amountETH
uint256
undefined
removeLiquidityETHWithPermitSupportingFeeOnTransferTokens
Parameters
token
address
undefined
liquidity
uint256
undefined
amountTokenMin
uint256
undefined
amountETHMin
uint256
undefined
to
address
undefined
deadline
uint256
undefined
approveMax
bool
undefined
v
uint8
undefined
r
bytes32
undefined
s
bytes32
undefined
Returns
amountETH
uint256
undefined
removeLiquidityWithPermit
Parameters
tokenA
address
undefined
tokenB
address
undefined
liquidity
uint256
undefined
amountAMin
uint256
undefined
amountBMin
uint256
undefined
to
address
undefined
deadline
uint256
undefined
approveMax
bool
undefined
v
uint8
undefined
r
bytes32
undefined
s
bytes32
undefined
Returns
amountA
uint256
undefined
amountB
uint256
undefined
swapETHForExactTokens
Parameters
amountOut
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amounts
uint256[]
undefined
swapExactETHForTokens
Parameters
amountOutMin
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amounts
uint256[]
undefined
swapExactETHForTokensSupportingFeeOnTransferTokens
Parameters
amountOutMin
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
swapExactTokensForETH
Parameters
amountIn
uint256
undefined
amountOutMin
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amounts
uint256[]
undefined
swapExactTokensForETHSupportingFeeOnTransferTokens
Parameters
amountIn
uint256
undefined
amountOutMin
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
swapExactTokensForTokens
Parameters
amountIn
uint256
undefined
amountOutMin
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amounts
uint256[]
undefined
swapExactTokensForTokensSupportingFeeOnTransferTokens
Parameters
amountIn
uint256
undefined
amountOutMin
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
swapTokensForExactETH
Parameters
amountOut
uint256
undefined
amountInMax
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amounts
uint256[]
undefined
swapTokensForExactTokens
Parameters
amountOut
uint256
undefined
amountInMax
uint256
undefined
path
address[]
undefined
to
address
undefined
deadline
uint256
undefined
Returns
amounts
uint256[]
undefined
Last updated