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

以分页的形式获取资产交易列表

功能介绍

以分页的形式获取资产交易列表,限制展示20000个条目

URI

GET /v1/open/asset/transactions

表1 Query参数

参数

是否必选

参数类型

描述

limit

String

分页大小限制

offset

String

条目偏移量

tx_type

String

资产交易类型

枚举值:

  • mint

  • burn

  • transfer

  • all

  • evidence

请求参数

响应参数

状态码: 200

表2 响应Body参数

参数

参数类型

描述

total_count

String

条目总数量

data

Array of AssetTransactionView objects

资产交易列表

表3 AssetTransactionView

参数

参数类型

描述

asset_from_addr

String

资产转移源地址

asset_to_addr

String

资产转移目的地址

transaction_time

Integer

交易时间

block_num

Integer

区块号

transaction_hash

String

交易哈希

transaction_type

String

交易类型

asset_id

String

资产编码

状态码: 400

表4 响应Body参数

参数

参数类型

描述

error_code

String

错误码

最小长度:1

最大长度:36

error_msg

String

错误描述

最小长度:1

最大长度:512

请求示例

响应示例

状态码

状态码

描述

200

成功响应

400

错误响应

分享:

    相关文档

    相关产品