# /track - Request the status of a swap

The `/track` endpoint provides real-time status information for a specific transaction. It is particularly useful for tracking the progress and details of swaps, transfers, and other operations. To use this endpoint, you must provide the **chain ID** and **transaction hash**. For a complete list of chain IDs used by DoritoKit you can [check the table here](/dkit-by-eldorito/dkit-api/providers-request-supported-chains-by-a-swap-provider.md#chain-ids-and-corresponding-names).

**Method:** `POST`&#x20;

**URL:**  `https://crunchy.dorito.club/api/track`

### **Request Body:**

| Field     | Type     | Description                            |
| --------- | -------- | -------------------------------------- |
| `hash`    | `string` | Transaction hash (required)            |
| `chainId` | `string` | Chain ID of the transaction (required) |

### **Example Request:**

```
curl -X 'POST' \
  'https://crunchy.dorito.club/api/track' \
  -H 'Content-Type: application/json' \
  -d '{
  "hash": "0x1890aba1c0b25126892af2ab09f5c1bba75adefc47918a96ea498764ab643ce9",
  "chainId": "1"
}'
```

### Response

The response contains detailed information about the transaction status, type, and associated metadata.

### **Response Fields:**

| Field    | Type     | Description                                         |
| -------- | -------- | --------------------------------------------------- |
| `status` | `string` | The status of a transaction (Running or Completed.) |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.eldorito.club/dkit-by-eldorito/dkit-api/track-request-the-status-of-a-swap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
