listlockunspent
Wallet
Summary
Returns list of temporarily unspendable outputs.
Description
Returns list of temporarily unspendable outputs. See the lockunspent call to lock and unlock transactions for spending.
Arguments
None.
Results
value(ARR): No description.value(OBJ): No description.txid(STR_HEX): The transaction id lockedvout(NUM): The vout value
Examples
List the unspent transactions
qbit-cli listunspent
Lock an unspent transaction
qbit-cli lockunspent false "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
List the locked transactions
qbit-cli listlockunspent
Unlock the transaction again
qbit-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
As a JSON-RPC call
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "listlockunspent", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/