0xcalldata

swapExactTokensForTokens(uint256,uint256,address[],address,uint256)

swapExactTokensForTokens(uint256,uint256,address[],address,uint256) is a function in the Uniswap V2 Router ABI (4-byte selector 0x38ed1739). It takes 5 parameters. Encode its calldata from typed inputs, or paste calldata to decode it.

Selector
0x38ed1739
Mutability
nonpayable

Parameters

NameType
amountInuint256
amountOutMinuint256
pathaddress[]
toaddress
deadlineuint256

Example calldata

0x38ed17390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Other Uniswap V2 Router functions