latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Wallet
List unspent reservation
Query reserved unspents in the wallet.
get/api/v2/wallet/{walletId}/reservedunspents
Path parameters
walletIdstring required
Example:59cd72485007a239fb00282ed480da1f
The wallet ID.
Query parameters
prevIdstring
Return the next batch of results, based on the "nextBatchPrevId" value from the previous batch.
limitinteger
Maximum number of results to return. If the result set is truncated, use the nextBatchPrevId value to get the next batch.
expireTimeGtstring date-time
Returns reserved unspents with an expireTime greater than this value.
expireTimeLtestring date-time
Returns reserved unspents with an expireTime less than or equal to this value.
expireTimestring
Returns reserved unspents with an expireTime equal to this value. If never, returns unspents without expiration dates.
Response
OK
Example response
{
"unspents": [
{
"id": "003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8:2",
"walletId": "59cd72485007a239fb00282ed480da1f",
"userId": "59cd72485007a239fb00282ed480da1f"
}
]
}