Transaction fee of 8.44 mBTC for 1.22 mBTC?

0

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

dki

Posted 2019-06-16T18:01:24.730

Reputation: 3

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 2019-06-17T17:35:49.940

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 2019-06-17T22:21:39.193

@dki yeah those are mostly scams because you can't really spend that money without paying disproportionately large amounts in fees.Abdussamad 2019-06-22T18:39:38.100

Answers

2

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.

Raghav Sood

Posted 2019-06-16T18:01:24.730

Reputation: 10 897

1

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

MCCCS

Posted 2019-06-16T18:01:24.730

Reputation: 5 827