Good to know
Before you get started...
You can easily switch networks by defining the network ID in your payload:
For supported tokens:
https://
For routing:
https://
<address>&outputToken=<address>&inputAmount=<amount in wei>&from=<address>
(edited)
Additional params for /routes:
slippage
(in bips)priceImpact
(boolean - include impact of trade size)maxHops
(number - maximum number of hops. Higher hops = higher gas)include
(comma-separated string of DEXs to include)
Last updated