GET
/
v2
/
route
/
result
curl --request GET \
  --url https://backend.swap.coffee/v2/route/result
{
  "splits": [
    {
      "status": "pending",
      "steps": [
        {
          "status": "pending",
          "input": {
            "token": {
              "address": {
                "blockchain": "ton",
                "address": "native"
              },
              "metadata": {
                "name": "ARBUZ",
                "symbol": "ARBUZ",
                "decimals": 123,
                "image_url": "<string>",
                "listed": true
              }
            },
            "amount": 123
          },
          "output": {
            "token": {
              "address": {
                "blockchain": "ton",
                "address": "native"
              },
              "metadata": {
                "name": "ARBUZ",
                "symbol": "ARBUZ",
                "decimals": 123,
                "image_url": "<string>",
                "listed": true
              }
            },
            "amount": 123
          }
        }
      ],
      "input": {
        "token": {
          "address": {
            "blockchain": "ton",
            "address": "native"
          },
          "metadata": {
            "name": "ARBUZ",
            "symbol": "ARBUZ",
            "decimals": 123,
            "image_url": "<string>",
            "listed": true
          }
        },
        "amount": 123
      },
      "output": {
        "token": {
          "address": {
            "blockchain": "ton",
            "address": "native"
          },
          "metadata": {
            "name": "ARBUZ",
            "symbol": "ARBUZ",
            "decimals": 123,
            "image_url": "<string>",
            "listed": true
          }
        },
        "amount": 123
      },
      "paid": true,
      "gas_sent": 123,
      "gas_received": 123
    }
  ],
  "terminal": true
}

Authorizations

X-Api-Key
string
header
required

Query Parameters

route_id
integer
required

Response

200
application/json
Result of the route transactions execution
splits
object[]
required
terminal
boolean
required

Whether this is the final view of the route result (i.e. it won't change anymore) and therefore it will be invalidated from our cache soon