curl --request GET \
--url https://backend.swap.coffee/v1/route/result
[
{
"status": "pending",
"steps": [
{
"status": "pending",
"input": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
},
"output": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
}
}
],
"input": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
},
"output": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
}
}
]
Actually it's route_id, but saved old naming for back-compatibility
transactions for the route
The response is of type object[]
.
curl --request GET \
--url https://backend.swap.coffee/v1/route/result
[
{
"status": "pending",
"steps": [
{
"status": "pending",
"input": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
},
"output": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
}
}
],
"input": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
},
"output": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
}
}
]
curl --request GET \
--url https://backend.swap.coffee/v1/route/result
[
{
"status": "pending",
"steps": [
{
"status": "pending",
"input": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
},
"output": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
}
}
],
"input": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
},
"output": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
}
}
]
Actually it's route_id, but saved old naming for back-compatibility
transactions for the route
The response is of type object[]
.
curl --request GET \
--url https://backend.swap.coffee/v1/route/result
[
{
"status": "pending",
"steps": [
{
"status": "pending",
"input": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
},
"output": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
}
}
],
"input": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
},
"output": {
"token_blockchain": "ton",
"token_address": "<string>",
"amount": 123
}
}
]