> ## 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.

# 同步web3交易记录

> 获取工作站下所有钱包特定交易ID之后的Web3交易记录

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

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

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

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

**object**

**id** `integer`

Web3交易ID

**request\_id** `string`

交易唯一标识

**sub\_wallet\_id** `integer`

钱包id

**txid** `string`

交易hash

**symbol** `string`

交易币种

**main\_chain\_symbol** `string`

网络原生代币币名（唯一标识），例：`ETH`

**amount** `string`

交易金额。-1表示无穷大

**fee\_symbol** `string`

矿工费币种，例：ETH

**fee** `string`

矿工费，例：0.00123

**real\_fee** `string`

真实消耗的矿工费，例：0.00111

**created\_at** `long`

创建时间时间戳

**updated\_at** `long`

修改时间时间戳

**address\_from** `string`

交易from地址

**address\_to** `string`

交易to地址

**interactive\_contract** `string`

交互合约

**confirmations** `integer`

区块确认数，例：10

**input\_data** `string`

合约交易的方法参数组成的16进制数据

**status** `integer`

交易状态: 1100 待签名，1200 支付中，2000 支付完成，2100 审批拒绝，2200 拒绝，2300 交易丢弃，2400 支付失败

**trans\_source** `integer`

交易类型： `1`app, `2`openapi

**tx\_height** `long`

交易完成的区块高度

**trans\_type** `integer`

交易类型：21 trx合约交易，22 trx授权用户转账，23 trx授权后转账，24 trx激活账户

```curl cURL theme={null}
curl -X GET \
--url 'https://openapi.chainup.com/api/mpc/web3/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":435,
        "request_id":"0000000003",
        "sub_wallet_id":1000895,
        "txid":"0xbc87e486d28df91fe715436415bab38cc1cf5e4b23fbb8497ff688b823c08ba7",
        "symbol":"",
        "main_chain_symbol":"HECO",
        "amount":"0",
        "fee_symbol":"HECO",
        "fee":"0.00018",
        "real_fee":"0.000107277",
        "created_at":1684220373000,
        "updated_at":1684222558000,
        "address_from":"0xd5c2d98BF2d205039F62ee40c9A7ab1B36125d6d",
        "address_to":"",
        "confirmations":4,
        "input_data":"0xca718c65",
        "interactive_contract":"0xe012F3957226894B1a2a44b3ef5070417a069dC2",
        "status":2400,
        "trans_source":2,
        "tx_height":3120013,
        "trans_type": 21
    },
    {
        "id":436,
        "request_id":"0000000003",
        "sub_wallet_id":1000895,
        "txid":"0xeab40bf0072c25514bc61fe58e5e36cc082ea7f50ae33f33013dd365beba9438",
        "symbol":"",
        "main_chain_symbol":"HECO",
        "amount":"0",
        "fee_symbol":"HECO",
        "fee":"0.00018",
        "real_fee":"0.000107277",
        "created_at":1684220373000,
        "updated_at":1684222558000,
        "address_from":"0xBDeBecf1fEDc622Cc50dE2F2aD6925D1EE15fCf9",
        "address_to":"",
        "confirmations":4,
        "input_data":"0xca718c65",
        "interactive_contract":"0x0AabA82E4ba9c2Fdf80B9F8E1AcE885f092B64F0",
        "status":2400,
        "trans_source":2,
        "tx_height":3120113,
        "trans_type": 22
    }
]
```


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