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

获取数字资产信息

功能介绍

获取数字资产信息

URI

GET /v1/open/scan/asset

表1 Query参数

参数

是否必选

参数类型

描述

asset_id

String

数字资产编号

最小长度:64

最大长度:64

请求参数

响应参数

状态码: 200

表2 响应Body参数

参数

参数类型

描述

asset_info

asset_info object

资产信息

collection_info

collection_info object

集合信息

transaction_info

transaction_info object

交易信息

表3 asset_info

参数

参数类型

描述

asset_id

String

资产id

creator_addr

String

创建者

owner_addr

String

拥有者

create_time

Long

创建时间

asset_name

String

资产名称

asset_type

String

资产类型

block_id

Integer

资产区块高度

parent_asset_id

String

父资产id

asset_project_name

String

资产project名称

表4 collection_info

参数

参数类型

描述

collection_name

String

集合名称

collection_symbol

String

集合简写

表5 transaction_info

参数

参数类型

描述

transaction_hash

String

交易hash

状态码: 400

表6 响应Body参数

参数

参数类型

描述

error_code

String

错误码

最小长度:1

最大长度:36

error_msg

String

错误描述

最小长度:1

最大长度:512

请求示例

响应示例

状态码

状态码

描述

200

资产信息

400

Error response

分享:

    相关文档

    相关产品