0xcalldata

swapETHForExactTokens(uint256,address[],address,uint256)

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

Selector
0xfb3bdb41
Mutability
payable

Parameters

NameType
amountOutuint256
pathaddress[]
toaddress
deadlineuint256

Example calldata

0xfb3bdb4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Other Uniswap V2 Router functions