Is there a query that will return the size of the UTXO database? Specifically, the total number of unspent outputs.

1 Answer 1


Bitcoin Core provides the gettxoutsetinfo RPC that has exactly the information you want. Note, it takes that call up to a minute or two to run (and maybe longer as the UTXO set keeps growing).

Here's what my node says right now:

  "height": 763253,
  "txouts": 84683939,
  "bogosize": 6314836827,
  "total_amount": 19207623.41689598,
  "transactions": 50344458,
  "disk_size": 5185703215

Current and historical data may be found on Statoshi.info's UTXO page.

  • It seems to me that having more than one sample output does not benefit the answer, as it will eventually be outdated inevitably. I'd probably roll back to your initial answer, or replace the old output with the current. Although, it is somewhat interesting to see that within half a year the number of txouts has almost doubled.
    – Murch
    Commented Aug 10, 2015 at 14:46
  • @Murch The number of outputs has just about doubled now, to 33409889.
    – Claris
    Commented Aug 29, 2015 at 13:21
  • Does all the nodes store UTXO database? @Murch♦
    – alper
    Commented Jan 3, 2018 at 16:33
  • 2
    @Alper: Yes, all full nodes have the complete UTXO Set.
    – Murch
    Commented Jan 4, 2018 at 0:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.