根据requestIds查询交易列表
根据requestIds查询交易列表
Request Body
通过requestIds查询获取已确认交易记录列表,requestId以逗号分割,不能为空且不能大于50个
- 200
successful operation
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
data object
list object[]
交易记录列表
Sinohope对交易的唯一标识
请求方对业务请求的唯一标识
通过交易加速/取消接口替换旧交易时,被替换的交易的sinoId
链唯一标识
交易方向类型:0 提现(系统内地址作为from地址发起的交易),1充值
交易状态: 0-交易审批中 1-交易审批成功 2-交易上链中 4-广播失败 5-交易上链失败 6-广播网络超时 10-交易上链成功 11-交易链上回滚 12-交易待审批 13-交易审批驳
transaction object
交易信息
交易hash
用户发起交易请求的类型,"Transfer" - 通过create_transfer接口发起的转账交易;"Web3Tx" - 通过 create_transaction 接口发起的交易,一般应是合约交易。 对于充值交易,为空。
from地址
from地址tag
to地址
to地址tag
金额:最小精度的整数值 例如:1230000000000000000
资产id
资产精度
对于ERC20/ERC721 等资产,资产对应的Token合约地址
手续费资产
手续费资产精度
真实消耗的手续费,最小精度的整数值
构造交易时赋予的手续费
交易gasPrice,燃料价格,ETH 账号模型适用,单位为 wei
交易gasLimit,燃料上限,ETH 账号模型适用
交易nonce
以太坊交易data(此字段只对由create_transaction 接口发起的 "Web3Tx"交易有效)
有效时间
交易有效高度
refer 高度
vin object[]
utxo input, 当币种是utxo类型币种时,才有此参数
交易hash
交易index,代表当前未花费交易所在位置
交易地址
交易金额
vout object[]
交易output, 当币种是utxo类型币种时,才有此参数
交易地址
交易金额
brc20Details object[]
操作类型
名称
本次操作的数量
铭文id
1:commit 2:reveal 3:transfer
from地址
to地址
runeDetails object[]
用户对交易的说明信息,备注
{
"code": 200,
"msg": "",
"data": {
"pageIndex": 1,
"pageSize": 10,
"totalSize": 10,
"list": [
{
"sinoId": "456417158498373",
"requestId": "3423434",
"replacedSinoId": "456417158498300",
"chainSymbol": "ETH",
"txDirection": 1,
"state": 10,
"transaction": {
"txHash": "0xee506b40220af3692be8b84a95a6e02d956164007d875812c1be26b594c2c27a",
"actionType": "Transfer",
"from": "0xc9cf7d652a036d65b3392dfcabc3d3c332082558",
"fromTag": "12300",
"to": "0xca1b41bc3c4ffa88e3a31bff85e3289ec375d138",
"toTag": "1001",
"amount": "1230000000000000000",
"assetId": "ETH_ETH",
"decimal": 18,
"contractAddress": "",
"feeAsset": "ETH_ETH",
"feeAssetDecimal": 18,
"usedFee": "21000000000000",
"fee": "30000000000000",
"gasPrice": "1000000000",
"gasLimit": "60000",
"nonce": "2",
"inputData": "0x095ea7b300000000000000000000000057a1a5869ce3203689d1785b02b55257cb3e1dc60000000000000000000000000000000000000000000000000000000000989680",
"expireTime": 1691500231,
"expireBlockHeight": 6566009,
"referBlockHeight": 6566020,
"vin": [
{
"hash": "0xa585a524c0f60d24d9c6bdebd47b94435d24e7f6181afbc1b6ba810d97cf0a77",
"voutIndex": "1",
"address": "16tXHQkjcCPibB9eLnR4GUWPpcg3oasvDx",
"amount": "123000"
}
],
"vout": [
{
"address": "16tXHQkjcCPibB9eLnR4GUWPpcg3oasvDx",
"amount": "123000"
}
]
},
"brc20Details": [
{
"method": "transfer",
"ticker": "lao8",
"quantity": "10",
"inscriptionId": "c04611b4986f69bab9cc311c2780f8af38b9c0ae7adda401e410869c5b84e1bbi0",
"step": 3,
"from": "mzF4dysdnBZ38d9pyhKavxM3wz9Xovipom",
"to": "2N8KGpP9knMMZJ7hgdjXsBsdMFoLKL4obEj"
}
],
"runeDetails": [
{
"fromAddress": "string",
"toAddress": "string",
"runeName": "HELLOWORLD",
"runeId": "28144:387",
"runeSpacedName": "HELLO•WORLD",
"runeSymbol": "string"
}
],
"note": ""
}
]
},
"success": true
}