latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Wallet
Make unspent reservation
Mark the unspents as reserved and cannot be used in transactions until the given expire time.
post/api/v2/wallet/{walletId}/reservedunspents
Path parameters
walletIdstring required
Example:59cd72485007a239fb00282ed480da1f
The wallet ID.
Request body
Example request
{
"unspentIds": [
"003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8:2"
],
"inscriptionIds": [
"003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8i2"
]
}Response
OK
Example response
{
"unspents": [
{
"id": "003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8:2",
"walletId": "59cd72485007a239fb00282ed480da1f",
"userId": "59cd72485007a239fb00282ed480da1f"
}
]
}