latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Wallet

Modifying unspent reservation

Modify expire time of reserved unspents.

put/api/v2/wallet/{walletId}/reservedunspents

Path parameters

walletIdstring required
Example:59cd72485007a239fb00282ed480da1f

The wallet ID.

Request body

unspentIdsUnspentId[] required

Example request

{
  "unspentIds": [
    "003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8:2"
  ]
}

Response

OK

Example response

{
  "unspents": [
    {
      "id": "003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8:2",
      "walletId": "59cd72485007a239fb00282ed480da1f",
      "userId": "59cd72485007a239fb00282ed480da1f"
    }
  ]
}