A web based interface to the Bitcoin API JSON-RPC

Command: listlockunspent

The listlockunspent RPC returns a list of temporarily unspendable (locked) outputs.

Parameters: none
Result—an array of locked outputs

{
	"result": [
		{
			"txid": "dd2d94d78b8c45e3f55eb020247e7a9143dc340f64b3f8eb156f934b89d75664",
			"vout": 0
		},
		{
			"txid": "932189ea83bdf457cac668dfd7fa36eb0f8db3ff43fcc3b396fe1cc5192a2a7c",
			"vout": 0
		}
	],
	"error": null,
	"id": null
}
listlockunspent

Returns list of temporarily unspendable outputs.
See the lockunspent call to lock and unlock transactions for spending.

Result:
[
  {
    "txid" : "transactionid",     (string) The transaction id locked
    "vout" : n                      (numeric) The vout value
  }
  ,...
]

Examples:

List the unspent transactions
> bitcoin-cli listunspent 

Lock an unspent transaction
> bitcoin-cli lockunspent false "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"

List the locked transactions
> bitcoin-cli listlockunspent 

Unlock the transaction again
> bitcoin-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"

As a json rpc call
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/