> ## Documentation Index
> Fetch the complete documentation index at: https://gasdocs-zh.gasstation.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 同步代理记录

> 通过id获取特定的代理记录

#### 请求参数数据结构

**max\_id** `string` *required*

代理记录起始id，例100，系统将返回101后的所有交易信息

**limit** `string`

返回数量,默认100，最多500

#### 响应参数数据结构

**object**

**id** `integer`

订单ID

**trade\_no** `string`

订单号

**request\_id** `string`

业务方ID

**status** `integer`

状态：`0` 创建订单成功,  `1` 代理资源成功,  `2` 代理资源失败, `3` 部分成功, `10` 回收成功

**service\_charge\_type** `string`

服务费类型。能量速充固定为 `10000`。

**receive\_address** `string`

资源接收地址

**amount** `decimal`

支付金额。速充订单在结算完成前为按购买数量计算的预估金额，结算完成后更新为最终结算金额。

**energy\_num** `integer`

能量数量

**delegate\_energy\_num** `integer`

已代理能量数量

**reclaim\_energy\_num** `integer`

已回收能量数量

**net\_num** `integer`

带宽数量

**order\_source** `integer`

状态：`0` 手动下单,  `1` api购买,  `2` 自动租赁, `3` 能量转租

**delegate\_net\_num** `integer`

已代理带宽数量

**reclaim\_net\_num** `integer`

已回收带宽数量

**item\_list** `string`

能量子订单

**object**

**energy\_num** `integer`

能量代理数量

**energy\_price** `string`

能量价格,单位sun

**energy\_txid** `string`

能量代理TXID

**delegate\_time** `string`

代理时间

**resource\_address** `string`

发送资源地址

**reclaim\_txid** `string`

能量回收TXID

**reclaim\_time** `string`

能量回收时间

**net\_item\_list** `string`

带宽子订单

**object**

**net\_num** `integer`

带宽代理数量

**net\_price** `string`

带宽价格,单位sun

**net\_txid** `string`

带宽代理TXID

**delegate\_time** `string`

代理时间

**resource\_address** `string`

发送资源地址

**reclaim\_txid** `string`

带宽回收TXID

**reclaim\_time** `string`

带宽回收时间

**swap\_info** `object`

能量速充信息，仅速充订单返回；普通订单不返回该字段。

**object**

**address** `string`

速充接收地址

**energy\_used** `integer`

速充前已使用能量

**energy\_num** `integer`

速充前可用能量

**buy\_energy\_num** `integer`

用户原始购买能量数量

**send\_energy\_num** `integer`

实际代理能量数量

**end\_energy\_used** `integer`

回收完成后已使用能量

**end\_energy\_num** `integer`

回收完成后可用能量

**freeze\_energy\_num** `integer`

首次冻结采用的能量基数

**freeze\_amount** `string`

首次冻结金额，单位TRX

**current\_lock\_amount** `string`

当前剩余冻结金额，单位TRX

**settlement\_amount** `string`

最终结算金额，单位TRX。按回收完成后系统确认的最终计费能量数量与下单时的价格、费率快照计算

```curl cURL theme={null}
  curl -X GET \
'https://openapi.gasstation.ai/api/tron/gas/record/list?app_id=49e9c57da66788e5178c8fec2905067b&data=fmDddiC4Rm2e4dV5JbDV805L99g29LQDOcSsdTrUXXU='
```

```json theme={null}
{
"code": 0,
"msg": "Success",
"data": [
{
  "trade_no": "GAS64075435",
  "id": 1468,
  "request_id": "123124312",
  "status": 1,
  "service_charge_type": "10010",
  "receive_address": "TQcfr115r65EnxqqVLquYw84ux9VfUkpy4",
  "amount": "0.6",
  "energy_num": 0,
  "order_source": 1,
  "net_num": 2000,
  "delegate_energy_num": 0,
  "delegate_net_num": 2000,
  "reclaim_energy_num": 0,
  "reclaim_net_num": 0,
  "item_list": [

  ],
  "net_item_list": [
    {
      "net_num": 500,
      "net_price": "300",
      "net_txid": "35a8d0de276044ab364a1dbb127fade4f88bd6e90936e8358a24112ba47763e7",
      "delegate_time": "2025-12-15 20:48:34",
      "resource_address": "TWJiWSTcPqdpUY6goH5N5ePsTiSUCXejuA",
      "reclaim_txid": null,
      "reclaim_time": "2025-12-15 20:58:34"
    },
    {
      "net_num": 500,
      "net_price": "300",
      "net_txid": "e509da6ba7e2b41e0d0df044dc9096577c55a0c56663871d2d33e67c0e260350",
      "delegate_time": "2025-12-15 20:48:35",
      "resource_address": "TWJiWSTcPqdpUY6goH5N5ePsTiSUCXejuA",
      "reclaim_txid": null,
      "reclaim_time": "2025-12-15 20:58:35"
    },
    {
      "net_num": 500,
      "net_price": "300",
      "net_txid": "6c3ae78f38cae53d1fe58dc3135f534118accf02e08649b93bff6ffe73653320",
      "delegate_time": "2025-12-15 20:48:36",
      "resource_address": "TWJiWSTcPqdpUY6goH5N5ePsTiSUCXejuA",
      "reclaim_txid": null,
      "reclaim_time": "2025-12-15 20:58:36"
    },
    {
      "net_num": 500,
      "net_price": "300",
      "net_txid": "a19e896afababc9c0ede453c6a348118ee6f2a65679fa721c3a76ee228081116",
      "delegate_time": "2025-12-15 20:48:38",
      "resource_address": "TWJiWSTcPqdpUY6goH5N5ePsTiSUCXejuA",
      "reclaim_txid": null,
      "reclaim_time": "2025-12-15 20:58:38"
    }
  ]
}
]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.