<p>This is a process known as consolidation - If your wallet has several small inputs, many wallets will often try to combine them into a single change input during regular transactions, especially ones made with a low sat/byte feerate. This allows you to spend the coins in a smaller transaction during possibly high traffic times, when the feerate may be much higher.</p>

<p>These days, many wallets only perform such consolidation if there are many outputs to a single address, as combining outputs from multiple addresses unnecessarily can lead to a loss of privacy. Unfortunately for you, it seems like in your case all the outputs do belong to a single address.</p>

<p>In the case of electrum, this doesn't appear to be a configurable option, although you could notice it is happening prior to submitting the transaction by using the "Preview" option - if you notice that the total fee or size or number of inputs consumed it too large, you can force electrum to build a transaction using only specific inputs by selecting them in your transaction history, then right clicking and selecting the spend from option.</p>

CC BY-SA 4.0
2019-06-16T20:12:32.507Z
2019-06-16T20:12:32.507Z
Raghav Sood
<p>The problem is the transaction fee doesn't depend on the values of inputs, but the number of inputs.</p>

CC BY-SA 4.0
2019-06-17T03:59:27.317Z
2019-06-17T03:59:27.317Z
MCCCS
<p>I made a transaction of 1.22242 mBTC with the electrum client and, I don't know why, it looks like it transferred all the remaining BTC from my account to myself which made a 13063 bytes transaction and costs me 8.43769 mBTC...
Do you know what happened?</p>

<p><a href="https://www.blockchain.com/btc/tx/24c9a54cd4686ef4e0f51298d3fb3862c03ba126fc78cbe382c9094397913314" rel="nofollow noreferrer">https://www.blockchain.com/btc/tx/24c9a54cd4686ef4e0f51298d3fb3862c03ba126fc78cbe382c9094397913314</a></p>

CC BY-SA 4.0
2019-06-17T17:35:49.940Z
Your account has received a large number of very small payments. That's going to make for some very high transaction costs as you have to gather all those tiny payments together. If all those tiny payments are coming from the same place, see if you can get them to make a smaller number of larger payments to save you money.
David Schwartz
CC BY-SA 4.0
2019-06-17T22:21:39.193Z
Thanks for the tip, most of the transactions came a long time ago from "faucets", websites that give away a tiny amount of bitcoin for free.
dki
CC BY-SA 4.0
2019-06-22T18:39:38.100Z
@dki yeah those are mostly scams because you can't really spend that money without paying disproportionately large amounts in fees.
Abdussamad
<transactions><electrum>
Transaction fee of 8.44 mBTC for 1.22 mBTC?
dki
# Transaction fee of 8.44 mBTC for 1.22 mBTC?

(Asked by: username_0 on 2019-06-16)

I made a transaction of 1.22242 mBTC with the electrum client and, I don't know why, it looks like it transferred all the remaining BTC from my account to myself which made a 13063 bytes transaction and costs me 8.43769 mBTC...
Do you know what happened?

<https://www.blockchain.com/btc/tx/24c9a54cd4686ef4e0f51298d3fb3862c03ba126fc78cbe382c9094397913314>

**Tags:** transactions, electrum

> **Comments:**
> **username_1**: Your account has received a large number of very small payments. That's going to make for some very high transaction costs as you have to gather all those tiny payments together. If all those tiny payments are coming from the same place, see if you can get them to make a smaller number of larger payments to save you money.  
> **username_0**: Thanks for the tip, most of the transactions came a long time ago from "faucets", websites that give away a tiny amount of bitcoin for free.  
> **username_2**: @username_0 yeah those are mostly scams because you can't really spend that money without paying disproportionately large amounts in fees.  

---

## 2 answers

### Answer by username_3 on 2019-06-16. Score: 2 | Accepted answer

This is a process known as consolidation - If your wallet has several small inputs, many wallets will often try to combine them into a single change input during regular transactions, especially ones made with a low sat/byte feerate. This allows you to spend the coins in a smaller transaction during possibly high traffic times, when the feerate may be much higher.

These days, many wallets only perform such consolidation if there are many outputs to a single address, as combining outputs from multiple addresses unnecessarily can lead to a loss of privacy. Unfortunately for you, it seems like in your case all the outputs do belong to a single address.

In the case of electrum, this doesn't appear to be a configurable option, although you could notice it is happening prior to submitting the transaction by using the "Preview" option - if you notice that the total fee or size or number of inputs consumed it too large, you can force electrum to build a transaction using only specific inputs by selecting them in your transaction history, then right clicking and selecting the spend from option.


---

### Answer by username_4 on 2019-06-17. Score: 1

The problem is the transaction fee doesn't depend on the values of inputs, but the number of inputs.


---

