> For the complete documentation index, see [llms.txt](https://docs.en.omnibridge.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.en.omnibridge.pro/intent/solver-integration/solver-order-query-api.md).

# Solver Order Query API

This API is used to query the status of submitted orders.

### 1. API Endpoint

```id="k9m2fs"
POST https://{host}/gt/swap/intent/queryOrder
```

### **2. Request Parameters**

| Parameter  | Required | Description                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pageNo     | Yes      | pageNo                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| pageSize   | Yes      | pageSize                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| solverCode | Yes      | Solver code                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| timestamp  | Yes      | Timestamp in milliseconds                                                                                                                                                                                                                                                                                                                                                                                                                             |
| sign       | Yes      | Request signature. Sort the request parameters (including default values, excluding `sign`, null values, empty strings, and whitespace-only strings) by parameter name in ascending lexicographical order. Concatenate them as `key1=value1&key2=value2` without URL encoding. Using the assigned `solverSecret` as the key, compute HMAC-SHA256 over the UTF-8 encoded string and convert the result to a 64-character uppercase hexadecimal string. |

### 3. Request Example

```json
{
    "pageNo":"1",
    "pageSize":"30",
    "timestamp":1785822731000,
    "solverCode":"test",
    "sign":"xxxxxxxxxxxx"
}
```

### 4. Response Example

```json
{
  "resCode": "800",
  "resMsg": "success",
  "data": {
    "totalCount": 4,
    "pageSize": 3,
    "pageNo": 1,
    "totalPage": 2,
    "pageContent": [
      {
        "intentId": "111",
        "solverCode": "aaa",
        "solverAddress": "asdf",
        "sendUserCoinAmt": "99",
        "sendUserCoinCode": "USDT(BSC)",
        "sendSolverCoinAmt": "100",
        "sendSolverCoinCode": "USDT(ERC20)",
        "sendUserHash": "0xxxxxxx",
        "sendSolverHash": "0xxxxxxx",
        "status": "success",
        "createTime": "2026-06-29 19:04:04"
      }
      ]
  }
}
```

### 5. Response Parameters

<table data-header-hidden><thead><tr><th width="225.0625"></th><th width="179.59765625"></th><th width="76.23046875"></th><th width="295.3359375"></th></tr></thead><tbody><tr><td>Solver order ID</td><td>intentId</td><td>String</td><td>eg：111</td></tr><tr><td>Solver code</td><td>solverCode</td><td>String</td><td>eg：aaa</td></tr><tr><td>Solver address</td><td>solverAddress</td><td>String</td><td>eg：0x123456</td></tr><tr><td>Amount sent by the Solver to the user</td><td>sendUserCoinAmt</td><td>String</td><td>eg：99</td></tr><tr><td>Token sent by the Solver to the user</td><td>sendUserCoinCode</td><td>String</td><td>eg：USDC(ARB)</td></tr><tr><td>Transaction hash of the Solver’s transfer to the user</td><td>sendUserCoinCode</td><td>String</td><td>eg：0x123456789</td></tr><tr><td>Amount sent by Omni to the Solver</td><td>sendSolverCoinAmt</td><td>String</td><td>eg：100</td></tr><tr><td>Token sent by Omni to the Solver</td><td>sendSolverCoinCode</td><td>String</td><td>eg：USDT(ERC20)</td></tr><tr><td>Transaction hash of Omni’s transfer to the Solver</td><td>sendSolverHash</td><td>String</td><td>eg：0xxxxxxx</td></tr><tr><td>Transaction hash of the Solver’s transfer to the user</td><td>sendUserHash</td><td>String</td><td>eg：0xxxxxxx</td></tr><tr><td>Order status</td><td>status</td><td>String</td><td><p></p><ul><li><code>wait_solver_send</code>: Waiting for the Solver to submit the transaction hash</li><li><code>wait_solver_send_confirm</code>: Confirming the Solver’s token transfer to the user</li><li><code>wait_receive_send</code>: Waiting for Omni to send tokens to the Solver</li><li><code>wait_receive_send_confirm</code>: Confirming Omni’s token transfer to the Solver</li><li><code>success</code>: Order completed</li><li><code>cancel</code>: Order canceled</li></ul></td></tr></tbody></table>

<br>
