> For the complete documentation index, see [llms.txt](https://docs-tron.tronify.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-tron.tronify.io/stakepal-api/query-delegation-reclaim-records.md).

# 查询代理/回收纪录

### 接口调用

<mark style="color:green;">`POST`</mark> `https://open.tronify.io/api/staking/getDelegateOpRecords`

**以下参数带\*字段为必填，不带\*号为选填**

#### Request Body

| Name                                         | Type   | Description |
| -------------------------------------------- | ------ | ----------- |
| address<mark style="color:red;">\*</mark>    | String | 用户地址（钱包地址）  |
| sourceFlag<mark style="color:red;">\*</mark> | String | 来源标识        |
| page                                         | Number | 页码          |
| pageSize<mark style="color:red;">\*</mark>   | Number | 每页条数        |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
  "resCode": 100,
  "resMsg": "Success",
  "data": {
    "data": [
      {
        "orderId": 1,
        "sellerAddress": "T...",
        "pledgeAddress": "T...",
        "resourceAmt": 1234,
        "resourceTrx": 10000
        "resourceType": "ENERGY",
        "txHash": "..."
        "orderStatus": "...",
        "orderType": "..."
        "createTime": "2026-08-13 11:08:48"
      }
    ]
  }
}
 
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### 调用示例

{% tabs %}
{% tab title="JavaScript" %}

```
// example
const params = {
    "address": "Txxxxxxxxxxxxxxxxx",
    "sourceFlag": "tronify",
    "page": 1,
    "pageSize": 10
}
 const res = await axios.post('https://open.tronify.io/api/staking/getDelegateOpRecords',params)
 console.log(res)
 if(res.resCode === '100'){
   //...  
 }
```

{% endtab %}
{% endtabs %}

### Postman 示例

<figure><img src="https://437826888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4K3XSHX743UkF46Owwyj%2Fuploads%2FFkqGF7HD2ZosNJmTh1IG%2Fimage.png?alt=media&amp;token=5d8cca4b-1d93-4523-9308-e26758575294" alt=""><figcaption></figcaption></figure>
