shortcuts
Find optimal route between tokens (direct routes, zaps)
Changed onpost/api/v1/shortcuts/route
Request
- Base URLhttps://api.enso.finance
- URLhttps://api.enso.finance/api/v1/shortcuts/route
- AuthHTTP bearer
Request body
Example request
{
"spender": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"refundReceiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"amountIn": [
"1000000000000000000"
],
"slippage": "300",
"referralCode": "0123456789ABCDEF",
"tokenIn": [
"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
]
}Response
Example response
{
"metadata": {
"bridgeRefundAssets": [
{
"token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"recipient": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"symbol": "USDC"
}
]
},
"route": [
{
"via": "cctp-forwarder"
}
]
}Changes
- warning
added the new
mayanenum value to the///response property for the response status - info
added the new
mayanenum value to the request property/
- warning
- info
added the new optional request property
- info