Or how to do coin control in Electrum
Granular control over the inputs and outputs of a transaction is called coin control. Coin control is usually done for privacy reasons. You may want to control which addresses are publicly associated with each other on the blockchain. Coin control involves two things:
- Spending specific unspent outputs (UTXOs)
- Controlling where change goes
To select specific UTXOs go to view menu > show coins and switch to the coins tabs. There you can select specific outputs to spend:
Ctrl or shift click to select specific outputs. Right clicking gives you the option to only spend these UTXOs. This will take you to the send tab where you can enter multiple address and amount combinations, one per line, in the pay to field:
In the above example 0.01 btc will be sent to n47p.. and 0.032 to mgcj… What about that last address that has an exclamation point for amount? That means send the balance amount there i.e. this is the change address. Make sure the change address belongs to your own wallet.
Be sure to click on the preview button to verify that all the inputs and outputs to this transaction are as they should be. Inputs and outputs highlighted in yellow or green belong to your wallet. Make sure change is going where it’s supposed to.