Routing
Get route transactions execution result
get/v2/route/result
Request
- Base URLhttps://backend.swap.coffee
- Auth
- none
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
route_idinteger required
Response
Result of the route transactions execution
Example response
{
"splits": [
{
"steps": [
{
"input": {
"token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ"
}
}
},
"output": {
"token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ"
}
}
}
}
],
"input": {
"token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ"
}
}
},
"output": {
"token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ"
}
}
}
}
]
}Changes
No recorded changes to this operation across all 7 revisions of this API.