Cointime

Download App
iOS & Android

Economically Unspendable Bitcoin UTXOs

Repost from Jameson Lopp DEC 16, 2023 : “Economically Unspendable Bitcoin UTXOs” The full report and all related findings are available on the official website of Jameson Lopp blog.

UTXO management guidance for avoiding footguns that can cause problems during times of high transaction fees.

Given the recent rise in transaction fees, it seems timely to introduce a somewhat new concept when it comes to UTXO management - the economically unspendable UTXO.

What is a UTXO? An Unspent Transaction Output, or in layman's terms: a deposit that has been made into your wallet. Every time you receive a bitcoin deposit, a new UTXO is created that will later need to be spent.

The Bitcoin network has always grappled with the concept of "dust" which is the creation of UTXOs that have basically no value but are undesirable because they increase the size of the global UTXO set, which is preferable to keep small enough that it can be stored in RAM. I've written about the history of dust previously:

A History of Bitcoin Transaction Dust & Spam StormsA historical analysis of spam attacks conducted on the Bitcoin network.

But I'm not referring to dust when I say "Economically Unspendable UTXO" - this is a level higher on the UTXO value scale. My definition is as follows:

An economically unspendable UTXO is a UTXO that costs more to spend than it is worth.

Of course, this is a tricky definition because the cost to spend a UTXO can fluctuate wildly over time based upon market conditions (demand for block space.)

Why Should You Care?

Since Bitcoin transaction fees are based not upon the value being transacted, but upon the data size of the transaction, it can become very important to ensure that your wallet balance is NOT composed of many low value UTXOs.

A recurring pattern I've seen while working on Bitcoin wallets for many years:

  1. Someone starts using Bitcoin during a bear market when transaction fees are dirt cheap. They may get into mining, dollar cost averaging, stacking, etc. This activity results in daily or weekly deposits into their wallet.
  2. They keep stacking regularly through the bear market, then during the bull market they decide to spend some of their funds.
  3. Upon attempting to spend funds, they are aghast at the recommended transaction fee, and in some cases the inability to even spend their entire balance in one transaction.

As such, the user becomes quite frustrated because the balance their wallet has been displaying to them IS NOT THEIR ACTUAL SPENDABLE BALANCE.

This situation is completely preventable, but it requires people to understand that every time you receive an on-chain deposit, there will be a future cost to spend it.

Introducing the Economically Unspendable UTXO Calculator

To this end, I'm releasing a new tool for calculating the cost of spending a given UTXO. You can find it at https://jlopp.github.io/unspendable-utxo-calculator/

It is technical in nature - you need to know what script type your particular wallet is using - but now you can get a better idea of how to plan ahead for high fee environments so that you don't find yourself with a wallet full of UTXOs that are worth less than it would cost you to spend!

How does it work? It's quite simple; after inputting the UTXO's attributes (script type and number of keys) then you'll see a line chart. Suffiice to say that anything underneath the line is in danger of becoming economically unspendable at the given fee rate. So, if we look at a 3-of-5 P2WSH UTXO, for example, we can see that at a fee rate of 300 satoshis per virtual byte it will cost around 45,000 satoshis to spend a single UTXO. Thus it's pretty poor planning to receive deposits smaller than that amount.

Bitcoin's block space is scarce - your future self will thank you for using it sparingly!

Comments

All Comments

Recommended for you

  • U.S. consumer confidence improves again in November, reaching a two-year high

    Dana M. Peterson, Chief Economist of the World Large Enterprises Federation, said, "US consumer confidence continued to improve in November, reaching the highest level in the past two years. The growth in November was mainly due to consumers' more positive assessment of the current situation, especially in the labor market. Compared with October, consumers' optimism about future employment opportunities has also greatly increased, reaching the highest level in nearly three years. At the same time, consumers' expectations for future business conditions have not changed, while their optimism about future income has slightly declined." Earlier, the US Conference Board Consumer Confidence Index for November recorded 111.7, a new high since July 2023.

  • Starknet: Phase 1 of STRK staking is now live on the mainnet

    Starknet announced that the first stage of STRK staking has officially launched on the mainnet.

  • CZ: Not trying to end the meme craze, just encouraging more builders

    CZ posted on X platform today, saying: "I am not against Meme coins, but Meme coins have become 'a little' strange now. Let's use blockchain technology to build practical applications." Some community users said that even Musk is a supporter of Meme coins, and it is very difficult to end this frenzy. CZ responded that "there is no attempt to end anything, everyone has the right to choose to invest or hold what they want. Just encourage more builders."

  • Talus Network Completes $6 Million Strategic Round of Financing with a Valuation of $150 Million

    decentralized AI protocol Talus Network raised $6 million in a strategic financing round led by Polychain Capital, valuing the company at $150 million. This funding will help further develop the Talus ecosystem, including the Protochain, Nexus framework, and "AI dating experience" application.

  • AXIOS: Trump is considering appointing a secretary of state for artificial intelligence

    according to AXIOS, Trump is considering appointing an AI minister to coordinate federal policies and government use of emerging technologies.

  • Coinbase International has launched COW perpetual contracts

     Coinbase International has launched COW perpetual contracts. COW-PERP market limit, market, stop loss, and stop loss limit orders are now all available.

  • Schuman Financial Completes $7.36 Million Seed Round, Led by RockawayX

    Schuman Financial has completed a $7.36 million seed round of financing, led by RockawayX, with participation from Lightspeed Faction, Kraken Ventures, Nexo Ventures, Gnosis VC, Delta Blockchain Fund and Bankless Ventures. In addition, Schuman Financial has launched a euro stablecoin, EURØP, which complies with the MiCA standard.

  • QCP: BTC's path to $100,000 has stalled, and ETH implied volatility has turned to put options

    QCP Capital has published an analysis indicating that the recent drop in the price of Bitcoin has resulted in long liquidations exceeding $430 million. This drop coincides with the end of five consecutive days of net inflows for spot ETFs, which recorded a outflow of $438 million on Monday, while MicroStrategy fell by 4.4%. With the US holiday approaching and no immediate catalyst to push prices higher, BTC's path towards $100,000 has stalled. In addition, the implied volatility of ETH has turned to bearish options rather than bullish options, and market concerns about downside risks may intensify, especially with the release of the FOMC meeting minutes and PCE data. However, in the long run, this market decline is not an excessive correction. Bitcoin has only retreated to last week's level. Since Trump's election, the market has become extremely overbought and leveraged, so a pause is inevitable.

  • Binance will delist GFT, IRIS, KEY, OAX, and REN

     Binance will delist the following trading pairs on December 10, 2024: GFT/USDT, IRIS/BTC, IRIS/USDT, KEY/USDT, OAX/BTC, OAX/USDT, REN/BTC, and REN/USDT. Additionally, Binance Futures will close all positions and automatically settle the KEYUSDT and RENUSDT USDⓈ-M perpetual contracts on December 3, 2024 at 09:00 (UTC). After the settlement is completed, the contracts will be delisted.