How many unspent transaction outputs are there?

11

1

I was wondering the other day how many unspent transaction outputs there are ?

If you just keep track of the unspent transaction outputs you could import private keys, know its balance and perform spends. How much data is this compared to the full blockchain ?

The biggest downside is that you would not have the full transaction list for a private key/address - just the transactions that you can use for future transaction inputs.

jim618

Posted 2012-04-29T13:51:50.370

Reputation: 3 205

Answers

7

As of block 177778 (Apr 29, 2012 6:17:33 PM):

  • 2944702 transactions
  • 6904591 transaction outputs
  • 5376092 transaction inputs
  • 1528499 unredeemed outputs left
  • 642432 addresses with non-zero balance

Pieter Wuille

Posted 2012-04-29T13:51:50.370

Reputation: 54 032

3A less time-specific answer to the question "How many unspent transaction outputs are there?" would be appreciated.Steven Roose 2013-06-14T22:01:04.870

Looking at the number of addresses with nonzero balance, an index versus 'list of blocks address has an unspent tx output in' I calculate would be less than 28 MB. It would then be quick to get the blocks from bitcoind and hence the key's transactions.jim618 2012-04-29T18:43:04.047

2Would a script that reports these numbers be available anywhere?Stephen Gornick 2012-04-29T20:59:33.717

I calculated it using a patch for bitcoind that scans the blockchain at startup, not very user-friendly :)Pieter Wuille 2012-04-30T00:53:42.760

@StevenRoose The number isn't fixed, so an answer would have to be "time-specific."Geremia 2017-05-13T03:35:29.850

Where/how did you obtain this info?Geremia 2017-05-13T03:37:05.930

@Geremia This shows how.

Geremia 2017-05-13T17:37:15.820