获取链接钱包对应的交易记录

请求

GET https://custody-example-url/custody/v1/api/projects/{b_id}/wallets/{wallet_code}/contract/orders

参数

字段 类型 描述
b_id String 业务线id
wallet_code String 钱包编号
keyword可选 String 关键字(可根据订单编号、提币申请账号、合约地址)
sortByTime可选 String 按时间排序(DESC、ASC 默认DESC 按创建时间倒叙排序)
status可选 String 订单状态
chain String 所属链
允许值: 参考币种列表Cactus Network Name (For API)
startTime可选 Integer 过滤订单起始时间戳
endTime可选 Integer 过滤订单结束时间戳
limit可选 Integer limit 默认为10
offset可选 Integer offset 默认为0

响应

字段 类型 描述
code Integer 响应状态码
message String 响应信息
successful Boolean 请求是否成功
data Object[] 订单数据
offset Integer 记录查询索引
limit Integer 每页数据条数
list Object[] 订单列表
time_stamp Long 订单创建时间戳
order_no String 订单号
status String 订单状态(FINISHED、FAILED、PROCESSING、ORDER_SEND_OUT。COMPLETED_FAILED、CANCELED)
chain String 链信息
chain_id String 链ID
applicant String 订单制单人
amount Decimal 提币金额
miner_fee Decimal 执行合约花费的小费
tx_id String tx hash 交易hash
contract_address String 合约地址
contract_data String 合约动作
gas_price Decimal 汽油费
gas_limit Decimal 汽油费限制
max_fee_per_gas Decimal max fee
max_priority_fee_per_gas Decimal priority fee
description String 订单描述
deposit_trans Object[] 入账交易
withdraw_trans Object[] 出账交易
-amount Decimal 金额
-coin_name String 币种

响应示例

{
    "code": 0,
    "message": "",
    "data": {
        "offset": 0,
        "limit": 10,
        "list": [
           {
               "time_stamp": 1607940309000,
               "miner_fee": 4489280000000000,
               "order_no": "D666666000001",
               "contract_address": "0xf8ac10e65f2073460aad5f28e1eabe807dc287cf",
               "gas_price": 20000000000,
               "gas_limit": 274556,
               "contract_data": "0x58c22be7000000000000000000000000018050e30e4bf1cf79bb8b8c2297aa750da045440000000000000000000000000000000000000000000000000000000000000000",
               "applicant": "[email protected]",
               "status": "FINISHED",
               "amount": 10000000000000000,
               "description": null,
               "tx_id": "0x2c9b57d499dfcbe7a1bac2461d39471b2d6da46b9b81620b93b4e5e8b9e41fb6",
               "deposit_trans": [
                   {
                       "amount": 10000000000000000,
                       "coin_name": "AWETH"
                   }
               ],
               "withdraw_trans": [
                   {
                       "amount": 10000000000000000,
                       "coin_name": "ETH"
                   }
               ]
           }
        ],
        "total": 1
    },
    "successful": true
}
Copyright © 2025 Cactus Custody all right reserved,powered by GitbookUpdated: 17-Apr-2025 10:11:15

results matching ""

    No results matching ""

    results matching ""

      No results matching ""