<p>You can use <code>fundrawtransaction</code> and specify a particular input to be used in the transaction. Bitcoin Core will then choose the rest of the inputs to meet your output amount automatically.</p>

<p>You can also use <code>lockunspent</code> to prevent specific UTXOs from being selected for coin selection thereby limiting which UTXOs can be used. Then any time that coin selection is used to create a transaction (i.e. in <code>sendtoaddress</code>, <code>sendmany</code>, <code>fundrawtransaction</code>, <code>walletcreatefundedpsbt</code>), only outputs that are not locked will be selected.</p>

CC BY-SA 4.0
2019-07-19T14:35:46.597Z
2019-07-19T14:35:46.597Z
Ava Chow
<p>Is there any methods to pick a particular UTXO and send it to a particular address in bitcoin regtest mode using bitcoin-cli other than createrawtransaction and sendtoaddress</p>

<bitcoind><utxo>
spend a specifc UTXO
prajna
# spend a specifc UTXO

(Asked by: username_0 on 2019-07-19)

Is there any methods to pick a particular UTXO and send it to a particular address in bitcoin regtest mode using bitcoin-cli other than createrawtransaction and sendtoaddress

**Tags:** bitcoind, utxo


---

## 1 answers

### Answer by username_1 on 2019-07-19. Score: 1

You can use `fundrawtransaction` and specify a particular input to be used in the transaction. Bitcoin Core will then choose the rest of the inputs to meet your output amount automatically.

You can also use `lockunspent` to prevent specific UTXOs from being selected for coin selection thereby limiting which UTXOs can be used. Then any time that coin selection is used to create a transaction (i.e. in `sendtoaddress`, `sendmany`, `fundrawtransaction`, `walletcreatefundedpsbt`), only outputs that are not locked will be selected.


---

