Paginated query btc spendable utxo list
Paginated query btc spendable utxo list
application/json
Request Body
chainSymbol string required
Chain Identifier
from string required
from address
page integer
Page number; default is 1 if not specified
pageSize integer
The number of rows of data per page. If not specified, the default value is 100, and the maximum value is 1000.
sort integer
1-ace;2-desc;Do not pass the default desc
sortType string
amount || id;Do not pass the default 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[]
Vins list
id integer
vout ID
transactionHash string
tx hash
voutIndex integer
transfer index,Represents the current location of unspent transactions
address string
Transaction address
amount integer
Transaction amount
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...