1inch (Aggregator)
/getprice
Returns the best swap quotation for the given token pairs.
Query Parameters
Name
Type
Description
https://api.expand.network/dex/getprice?path=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE%2C0x6B175474E89094C44Da98b954EedeAC495271d0F&amountIn=1000000000000000000&dexId=1700{
"status": 200,
"msg": "success",
"data": {
"amountIn": "1000000000000000000",
"path": [
"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"0x6B175474E89094C44Da98b954EedeAC495271d0F"
],
"amountsOut": [
"1000000000000000000",
"1987156918504513709869"
]
}
}/getliquiditysources
Get the liquidity sources for the specified dex aggregator(on the basis of chain), supported by expand.network.
Query Parameters
Name
Type
Description
/swap
Initiate a swap transaction on the DEX providing best swap quote.
Request Body
Name
Type
Description
Last updated

