更新时间:2025-06-06 GMT+08:00
分享

获取指定资产交易信息

功能介绍

获取指定资产交易信息

URI

GET https://localhost.com//v1/open/asset/transaction

表1 Query参数

参数

是否必选

参数类型

描述

tx_id

String

交易ID

limit

String

分页大小

offset

String

条目偏移量

请求参数

响应参数

状态码:200

表2 响应Body参数

参数

参数类型

描述

asset_from_addr

String

资产转移源地址

asset_to_addr

String

资产转移目的地址

transaction_time

Integer

交易时间

block_num

Integer

区块高度

transaction_hash

String

交易哈希

transaction_type

String

交易类型

asset_ids

AssetIDsPageView object

资产ID列表

表3 AssetIDsPageView

参数

参数类型

描述

total_count

Long

总条目数量

data

Array of strings

资产编码列表

状态码:400

表4 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

请求示例

响应示例

状态码

状态码

描述

200

成功响应

400

失败响应

相关文档