Add missing list resevedutxos docs (#3015)

This commit is contained in:
Chris Stewart 2021-05-03 08:08:23 -05:00 committed by GitHub
parent 1339abe410
commit 7dc6acdce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -175,6 +175,7 @@ the `-p 9999:9999` port mapping on the docker container to adjust for this.
- `getaddressinfo` `address` - Returns list of all wallet accounts
- `address` - Address to get information about
- `getnewaddress` - Get a new address
- `listreservedutxos` - lists all utxos that are reserved in the wallet
- `sendtoaddress` `address` `amount` `[options]` - Send money to the given address
- `address` - Address to send to
- `amount` - Amount to send in BTC

View File

@ -3,6 +3,28 @@ title: Wallet RPC Examples
id: wallet-rpc
---
### `listreservedutxos`
Lists all reserved utxos in the wallet.
These utxos will not be unreserved unless you manually
unreserve them with `lockunspent` or they are spent in the blockchain
```bash
bitcoin-s-cli listreservedutxos
[
{
"outpoint": "1c22634fa282e71866a8b8c6732ec89eb5c46d30f9773486b0ae32770e8109e1",
"value": 2000
},
{
"outpoint": "2b12634fa282e71866a8b8c6732ec89eb5c46d30f9773486b0ae32770e810901",
"value": 1000
}
]
```
### `lockunspent`
Locks all utxos in the wallet