Good to know
Before you get started...
Last updated
Before you get started...
Last updated
You can easily switch networks by defining the network ID in your payload:
For supported tokens:
For routing:
<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)