cURL
curl --request POST \ --url https://checkout.suave.money/v1/routes \ --header 'Content-Type: application/json' \ --data ' { "fromToken": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58", "toToken": "0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063", "fromChainId": "10", "toChainId": "137", "inputAmount": "2000000" } '
{ "id": "<string>", "steps": [ { "fromToken": { "symbol": "<string>", "decimals": 123, "name": "<string>", "logoURI": "<string>", "chain_to_address": {}, "chains": [ {} ] }, "toToken": { "symbol": "<string>", "decimals": 123, "name": "<string>", "logoURI": "<string>", "chain_to_address": {}, "chains": [ {} ] }, "fromChainId": 123, "toChainId": 123, "inputAmount": "<string>", "outputAmount": "<string>", "estimatedTime": "<string>", "fees": [ { "amount": "<string>", "currency": { "symbol": "<string>", "decimals": 123, "name": "<string>", "logoURI": "<string>", "chain_to_address": {}, "chains": [ {} ] } } ] } ], "estimatedTime": "<string>", "totalFees": [ { "amount": "<string>", "currency": { "symbol": "<string>", "decimals": 123, "name": "<string>", "logoURI": "<string>", "chain_to_address": {}, "chains": [ {} ] } } ] }
Get cross-chain routes between tokens
Documentation IndexFetch the complete documentation index at: https://docs.suave.money/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.suave.money/llms.txt
Use this file to discover all available pages before exploring further.
"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58"
"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063"
Generated Routes
Show child attributes