Call Data API
Address of the input token. Use '0x0000000000000000000000000000000000000000' for the native gas token.
Address of the output token.
Address of the recipient of the output tokens.
Amount of the input token to swap (in its smallest unit, e.g., Wei).
Optional. Slippage tolerance percentage (e.g., 3 for 3%). Defaults to a predefined value.
Optional. Minimum amount of output tokens expected (in Wei). If not provided, it will be calculated based on the slippage.
Successfully generated swap call data.
Call data to be sent to the router contract.
0xac9650d80000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c4522ba7eb00000000000000000000000035e44dc4702fd51744001e248b49cbf9fcc51f0c0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000009184e72a000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000154a14398c5c5b4b7913954cb82521fb7afa676314000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064f16d7904000000000000000000000000dddd73f5df1f0dc31373357beac77545dc5a6f3f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000008a6f6552ce3fdff3c26d004b255e59b6b5935f06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084670ca181000000000000000000000000ea237441c92cae6fc17caaf9a7acb3f953be4bd1000000000000000000000000dddd73f5df1f0dc31373357beac77545dc5a6f3f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000Address of the router contract.
0x35e44dc4702Fd51744001E248B49CBf9fcc51f0CValue (in Wei) to be sent with the transaction (usually 0, except when swapping with gas token).
10000000000000Estimated amount of output tokens the user will receive.
2Minimum amount of output tokens the user should receive after slippage (in Wei).
2The final slippage used for the calculation.
0.7HTTP status code (200 for success).
Bad request. Missing parameters or invalid input.
Last updated