Prevents specific UTXOs from being spent in automated transactions, or
releases them if they were previously locked.
Usage
mc_lock_unspent(conn, unlock, outputs = NULL)
Arguments
- conn
A connection object to the MultiChain node.
- unlock
Logical. If TRUE, unlocks the outputs; if FALSE, locks them.
- outputs
Optional list of outputs to (un)lock. Expected format:
list(list(txid="id", vout=0), ...). If empty and unlock=TRUE,
all outputs are unlocked.
Value
Logical TRUE on success.
See also
Other wallet:
mc_backup_wallet(),
mc_change_wallet_passphrase(),
mc_combine_unspent(),
mc_dump_privkey(),
mc_dump_wallet(),
mc_encrypt_wallet(),
mc_get_wallet_info(),
mc_import_privkey(),
mc_import_wallet(),
mc_list_lock_unspent(),
mc_list_unspent(),
mc_lock_wallet(),
mc_unlock_wallet()