0xcalldata

swapTokensForExactETH(uint256,uint256,address[],address,uint256)

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

Selector
0x4a25d94a
Mutability
nonpayable

Parameters

NameType
amountOutuint256
amountInMaxuint256
pathaddress[]
toaddress
deadlineuint256

Example calldata

0x4a25d94a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Other Uniswap V2 Router functions