分页查询btc 可花费的utxo列表
分页查询btc 可花费的utxo列表
application/json
Request Body
chainSymbol string required
链唯一标识
from string required
from 地址
page integer
第几页;不传默认1
pageSize integer
每页多少行数据,不传默认100,最大1000
sort integer
1-ace;2-desc;不传默认desc
sortType string
amount || id;不传默认amount
Responses
- 200
successful operation
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code integer
msg string
data object
pageIndex integer
pageSize integer
totalSize integer
list object[]
vin列表
id integer
vout ID
transactionHash string
交易hash
voutIndex integer
交易index,代表当前未花费交易所在位置
address string
交易地址
amount integer
交易金额
success boolean
{
"code": 200,
"msg": "",
"data": {
"pageIndex": 1,
"pageSize": 10,
"totalSize": 10,
"list": [
{
"id": 12345,
"transactionHash": "0xa585a524c0f60d24d9c6bdebd47b94435d24e7f6181afbc1b6ba810d97cf0a77",
"voutIndex": 1,
"address": "16tXHQkjcCPibB9eLnR4GUWPpcg3oasvDx",
"amount": 123000
}
]
},
"success": true
}
Loading...