Skip to main content
GET
/
v2
/
route
/
result
Get route transactions execution result
curl --request GET \
  --url https://backend.swap.coffee/v2/route/result \
  --header 'X-Api-Key: <api-key>'
{
  "splits": [
    {
      "status": "pending",
      "steps": [
        {
          "status": "pending"
        }
      ],
      "paid": true,
      "gas_sent": 123,
      "gas_received": 123
    }
  ],
  "terminal": true
}

Authorizations

X-Api-Key
string
header
required

Query Parameters

route_id
integer<int32>
required

Response

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