Skip to main content

交易列表

交易列表

Request Body
    address string required

    链地址

    sinoIds string

    通过sinoIds查询获取已确认交易记录列表,sinoid是sinohope唯一标识交易id,以逗号分割,sinoid不能大于50个

    requestIds string

    通过requestIds查询获取已确认交易记录列表,requestId以逗号分割,requestId不能大于50个

    txHash string

    交易hash

    chainSymbol string required

    链标识

    assetId string

    资产id

    pageIndex pageIndex

    当前页码,首页为 1。

    pageSize pageSize

    每页数据条数(不得小于1,不得大于50;默认 10)

    startUpdateTime string

    根据更新时间查询,开始时间 传了开始时间,开始结束也得带上(格式 "2022-02-02 00:00:00")

    endUpdateTime string

    根据更新时间查询,结束时间 传了结束时间,开始时间也得带上(2022-02-02 00:00:00))

Responses

successful operation


Schema
    code integer
    msg string
    data object
    pageIndex integer
    pageSize integer
    totalSize integer
    list object[]

    交易记录列表

  • Array [
  • sinoId string

    Sinohope对交易的唯一标识

    requestId string

    请求方对业务请求的唯一标识

    replacedSinoId string

    通过交易加速/取消接口替换旧交易时,被替换的交易的sinoId

    chainSymbol string

    链唯一标识

    txDirection integer

    交易方向类型:0 提现(系统内地址作为from地址发起的交易),1充值

    state integer

    交易状态: 0-交易审批中 1-交易审批成功 2-交易上链中 4-广播失败 5-交易上链失败 6-广播网络超时 10-交易上链成功 11-交易链上回滚 12-交易待审批 13-交易审批驳

    transaction object

    交易信息

    txHash string

    交易hash

    actionType string

    用户发起交易请求的类型,"Transfer" - 通过create_transfer接口发起的转账交易;"Web3Tx" - 通过 create_transaction 接口发起的交易,一般应是合约交易。 对于充值交易,为空。

    from string

    from地址

    fromTag string

    from地址tag

    to string

    to地址

    toTag string

    to地址tag

    amount string

    金额:最小精度的整数值 例如:1230000000000000000

    assetId string

    资产id

    decimal integer

    资产精度

    contractAddress string

    对于ERC20/ERC721 等资产,资产对应的Token合约地址

    feeAsset string

    手续费资产

    feeAssetDecimal integer

    手续费资产精度

    usedFee string

    真实消耗的手续费,最小精度的整数值

    fee string

    构造交易时赋予的手续费

    gasPrice string

    交易gasPrice,燃料价格,ETH 账号模型适用,单位为 wei

    gasLimit string

    交易gasLimit,燃料上限,ETH 账号模型适用

    nonce string

    交易nonce

    inputData string

    以太坊交易data(此字段只对由create_transaction 接口发起的 "Web3Tx"交易有效)

    expireTime integer

    有效时间

    expireBlockHeight integer

    交易有效高度

    referBlockHeight integer

    refer 高度

    vin object[]

    utxo input, 当币种是utxo类型币种时,才有此参数

  • Array [
  • hash string

    交易hash

    voutIndex string

    交易index,代表当前未花费交易所在位置

    address string

    交易地址

    amount string

    交易金额

  • ]
  • vout object[]

    交易output, 当币种是utxo类型币种时,才有此参数

  • Array [
  • address string

    交易地址

    amount string

    交易金额

  • ]
  • note string

    用户对交易的说明信息,备注

  • ]
  • success boolean
Loading...