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

# 同步购买tron资源交易记录

> 获取工作站下所有钱包特定交易ID之后的TRON交易资源购买记录

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

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

TRON购买资源交易记录起始id，例100，系统将返回101后的所有交易信息

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

**object**

**id** `integer`

购买资源交易ID

**request\_id** `string`

交易唯一标识

**address\_form** `integer`

资源接受地址

**service\_charge\_rate** `string`

服务费费率

**service\_charge** `string`

服务费 单位TRX

**contract\_address** `string`

合约地址 用于预估矿工费

**address\_to** `string`

转账到账地址 用于预估矿工费

**resource\_type** `string`

购买资源类型 0:能量与带宽 1:能量

**buy\_type** `string`

购买资源方式 0:系统预估 1:指定数量

**net\_num** `string`

代理带宽数量

**energy\_num** `long`

代理能量数量

**net\_txid** `long`

带宽代理交易txid

**energy\_txid** `string`

能量代理交易txid

**net\_price** `string`

带宽价格

**energy\_price** `string`

能量价格

**status** `integer`

状态 0创建订单成功1代理资源成功2代理资源失败

```curl cURL theme={null}
curl -X GET \
--url 'https://openapi.chainup.com/api/mpc/tron/delegate/sync_trans_list?app_id=16a9f17fc2ad61ca4339fdd6a8a37f21&data=SWYYr-LBVAmaS0eq8n-CUT_nHkM3OBxyWOsImMTe41UaqAoYI2ZghmaphXHov-7hsRsVmOhyPqC-JFuRGvonJKFd2Jirxv6Vn_8V40r_MMYTkhqcviQbZWYW5xX8Ai8CIpqas9fIWVDIYA_NKBl0UCJpwGxscxLNpjq5Z8-BTyIYDsVBquM9zEQGBCfcA7szD9n2fN_loSkoexlwqV8wg9HIZO5yQ6utZ_Kt0lNDQQb8zn8BwfAvsEsbJlOINUAqhxh1vV_AJ4bXn2uYx8TaYcBht-n_ZcBdxIDt975dbOFUiH-oCzIuDi1oLDtb4EylfCvhU5E4ozel_lQ-6cyIG0Dqiiyx0RFFOCJzPSXIoV031pvoa8pTCpkWklh8mRw1rylBgeZtqSxpnJO2_u2RIlXq6Hs8Yly9CmhIXaSrUgPir0h6xVxlf4VC6PFVCkiiTlp0kZ_H_UbKm0nUis3v3U2sflWJ2C449waSrikhuxVrFAQ6PQmrFVCAE6MYXNrFXJQuam2HAIQNSGbFQjspw8b_bXyfyZMGZ3K2oBC4I_v3eETTdPe0pfSNJb-5g37K0tOAr_UFbWK8pkC8yl56fSjn8tcR3yCRWwoi8jxTcUBiswTtvXZtzgG4dyzkaHXjsZjSGiywXSqP76VZWlyOmAx6IDSViLcPLPISdU3ruCI'
```

```json theme={null}
[
{
    "id": 1,
    "request_id": "12345678",
    "address_form": "TXxtczsXf1EYgWEbwSxwC85iMfdv6CGNRa",
    "service_charge_rate": "0.5",
    "service_charge": "3.492925",
    "contract_address": "TED4rvM5VAG8kzKULTb7GXXY6ph9aTwjt3",
    "address_to": "TAqVGtBTkBfPwhgFKuWNqoMmApq87aumrU",
    "resource_type": 0,
    "buy_type": 0,
    "net_num": 500,
    "energy_num": 30885,
    "net_txid": "1181fe4ea5915f940ac3cae3a5cde79037a35a4d768d52bc308654b89463fc63",
    "energy_txid": "ab603f62e385ad70cfffd46ad1b160946a45600154f1420369d92749bb4f42dc",
    "net_price": "0.001",
    "energy_price": "0.00021",
    "status": 1
}
]
```


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