Kyberswap (Aggregator)
/getprice
Returns the best swap quotation for the given token pairs.
Query Parameters
Name
Type
Description
https://api.expand.network/dex/getprice?dexId=2200&path=0xdAC17F958D2ee523a2206206994597C13D831ec7%2C0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2&amountIn=100000000000{
"status": 200,
"msg": "success",
"data": {
"amountIn": "100000000000",
"path": [
"0xdAC17F958D2ee523a2206206994597C13D831ec7",
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
],
"amountsOut": [
"100000000000",
"43382075587262580147"
]
}
}/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

