lockunspent
#
CommandUpdates list of temporarily unspendable outputs. Temporarily lock (unlock=false) or unlock (unlock=true) specified transaction outputs. If no transaction outputs are specified when unlocking then all current locked transaction outputs are unlocked. A locked transaction output will not be chosen by automatic coin selection, when spending pacprotocols. Locks are stored in memory only. Nodes start with zero locked outputs, and the locked output list is always cleared (by virtue of process exit) when a node stops or fails. Also see the listunspent call
#
Argumentsunlock
*#
(boolean, required)
Whether to unlock (true) or lock (false) the specified transactions
transactions
#
(string, optional)
A json array of objects. Each object the txid (string) vout (numeric)
#
ExamplesList the unspent transactions
Lock an unspent transaction
List the locked transactions
Unlock the transaction again
As a json rpc call
#
ResultRunning following help command
Will produce following output: