# 1.6 Status Query

You can use the following APIs to check the status of an XFlows cross-swap transaction using the source chain transaction hash:

**Example:**

```json
curl -XGET <https://bridge-api.wanchain.org/api/status/0x3b3ea21007157ec956e884986be36658ca6abd80f0a787e9105f342f29551ddb>

curl -XGET <https://bridge-api.wanchain.org/api/status/msg/0x3b3ea21007157ec956e884986be36658ca6abd80f0a787e9105f342f29551ddb>

curl -XGET <https://dex.wanscan.org/api/xflows/status/0x3b3ea21007157ec956e884986be36658ca6abd80f0a787e9105f342f29551ddb>
```

**API Endpoints:**

* **Cross status query:** `https://bridge-api.wanchain.org/api/status/{sourceChainTxHash}`
* **Message status query:** `https://bridge-api.wanchain.org/api/status/msg/{sourceHash}`
* **Execution status query:** `https://dex.wanscan.org/api/xflows/status/{sourceChainTxHash}`

**Status Code:**

* **0**: Pending
* **1**: Success
* **2**: Failed
* **3**: Processing
* **4/5**: Refunded
* **7**: Risk transaction


---

# 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.wanchain.org/developers/xflows-api-old/1.6-status-query.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.
