<p>By default, Bitcoin Core will randomize the order of inputs and outputs when constructing a transaction. I think that this is also the case when you use coin control to manually pick your inputs. As far as I’m aware, you will need to either create your own PSBT or use <code>sendrawtransaction</code> to determine the order of the inputs and outputs.</p>

CC BY-SA 4.0
2023-06-03T21:18:17.387Z
i was afraid of this.. but thanks for the quick answer.
Michael Tidwell
CC BY-SA 4.0
2023-06-03T21:16:36.427Z
2023-06-03T21:16:36.427Z
Murch
<p>While using Bitcoin-qt I understand there is the &quot;Coin Selection&quot; option.</p>
<p>Is there also a way to choose the ordering index of the utxo's for the inputs or outputs?</p>
<p>I'm trying to avoid the cli if possible.</p>

<bitcoin-core><utxo><bitcoin-qt-setup><coin-selection><txindex>
Bitcoin-qt constructing a transaction and choosing the index of the ins and outs
Michael Tidwell
# Bitcoin-qt constructing a transaction and choosing the index of the ins and outs

(Asked by: username_0 on 2023-06-03)

While using Bitcoin-qt I understand there is the "Coin Selection" option.

Is there also a way to choose the ordering index of the utxo's for the inputs or outputs?

I'm trying to avoid the cli if possible.

**Tags:** bitcoin-core, utxo, bitcoin-qt-setup, coin-selection, txindex


---

## 1 answers

### Answer by username_1 on 2023-06-03. Score: 1 | Accepted answer

By default, Bitcoin Core will randomize the order of inputs and outputs when constructing a transaction. I think that this is also the case when you use coin control to manually pick your inputs. As far as I’m aware, you will need to either create your own PSBT or use `sendrawtransaction` to determine the order of the inputs and outputs.

> **Comments:**
> **username_0**: i was afraid of this.. but thanks for the quick answer.  

---

