Consolidating Outputs: When and Why
On unspent-output chains, a wallet full of small deposits pays more to spend. Consolidation at the right time is the cheapest optimisation available.
On chains using an unspent-output model, a balance is not a single number. It is a collection of separate outputs, and spending requires including each one you use as an input.
Why that costs money
Transaction fees on these chains are charged by size in bytes, not by value.
Each input adds bytes. A transaction spending twenty small outputs is far larger, and therefore far more expensive, than one spending a single large output for the same total value.
So a wallet accumulated through many small deposits is expensive to spend from, and the cost is invisible until you try.
The consolidation operation
Send the outputs to yourself in a single transaction, combining them into one.
You pay a fee proportional to the number of inputs. Afterwards, future transactions spend one output instead of many.
The timing
This is the entire optimisation. Consolidation is never urgent, which means it can be done whenever fees are lowest.
Doing it during a quiet weekend period rather than during a weekday peak commonly costs a third to a fifth as much, for an identical result.
The saving is realised twice: once on the consolidation itself, and again on every future transaction that now spends fewer inputs.
Who needs it
Anyone receiving frequent small deposits. Mining payouts, faucet-like distributions, repeated small purchases withdrawn individually.
Anyone who has been withdrawing from a venue monthly rather than quarterly, which produces one output per withdrawal.
Anyone whose wallet warns that a transaction fee is unexpectedly high. That warning is usually this problem.
Who does not
Users on account-based chains, where a balance is a single number and the input count does not exist.
This is worth stating because advice about consolidation circulates without the qualification, and it does not apply on most networks people use today.
The privacy consideration
Consolidating links outputs together. If some were received in contexts you would prefer not to connect, combining them establishes common ownership on-chain permanently.
Wallets with coin control let you select which outputs to combine, which is the way to consolidate without linking everything.
The dust interaction
Outputs too small to spend economically at current fees are stranded. Consolidating during a low-fee period can rescue them, because the threshold for economic spending falls with the fee.
That is another reason to do this at the weekly low rather than whenever you remember.
The preventive version
Fewer, larger withdrawals produce fewer outputs.
Withdrawing quarterly rather than monthly, from venues that publish their fees and minimums such as platforms that do not round the fee up, keeps the output count low and makes consolidation unnecessary for most users.
Fees move with network demand. Any figure here reflects the date shown above and should be re-checked before you act on it. Where a measurement was taken by hand, the article says so.
Related reports
- A Year of Fee Data: What We Learnedgas mechanics
- Batching: The Simplest Way to Cut On-Chain Costsgas mechanics
- Priority Fees, Block Building and Where Your Tip Goesgas mechanics