curl --request GET \
--url https://backend.swap.coffee/v1/route/result \
--header 'X-Api-Key: <api-key>'[
{
"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 \
--header 'X-Api-Key: <api-key>'[
{
"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
pending, partially_complete, succeeded, failed, timed_out Show child attributes
pending, cancelled, succeeded, failed, timed_out