Query Parameters
Chain ID of the network to execute the transaction on
Ethereum address of the wallet to send the transaction from
Example:
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
Body
application/json
Amount of tokenIn in wei
Example:
"1000000000000000"
Address of the tokenIn. For ETH, use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Example:
"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
Address of the tokenBToBuy
Example:
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
Percentage of tokenB to buy in basis points (1/10000), e.g. 50 = 0.50%.
Example:
"5000"
Flag that indicates whether to use the shared router
Slippage in basis points (1/10000) e.g. 50 = 0.50%, Default is 300
Example:
"300"
Flag that indicates whether to simulate the transaction, verify some assertions, return simulationURL and events