Coin selection
Terms used in this lesson
- UTXO
- Unspent transaction output: one discrete chunk of bitcoin that can be used as a transaction input.
Wallets trade off fees, privacy, change, consolidation, and future spending cost when selecting UTXOs.
Loading lesson visuals...
Learn the idea
Coin selection is the wallet process of choosing which UTXOs fund a payment. It balances current fee, change creation, future spending cost, privacy, confirmation status, and policy. Consolidation combines multiple UTXOs, while exact-match selection can avoid change. Linking inputs can reveal that one entity likely controlled them.
Filter eligible UTXOs
The wallet applies network, confirmation, coin-control, script, timelock, and spendability requirements before optimizing.
Inspect every idea above to open it.
Fewer inputs often reduce current fees, but privacy, change, consolidation timing, confirmation needs, and future costs can justify another set.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.