7

Currently there are 35 million unspent transaction outputs. Is there a site somewhere where I can query this data to see, for instance, how many UTXO's exist with a value less than 20,000 satoshis? Or the total unique scriptPubKey values found in a UTXOs?

1
  • To my knowledge, there is no such site. You could get this with some coding. For example accessing a node's levelDB; see chainstate db keys in the accepted answer of this question.
    – karask
    Apr 25, 2016 at 8:17

1 Answer 1

2

The standard bitcoind core daemon has no methods to query the UTXO set for reasons I don't know: it should be trivial to give access to it even on a pruned node since it needs to have the full UTXO set at any time to validate a new block.

Anyway a pull request seems in progress to add this capability: https://github.com/bitcoin/bitcoin/pull/8952

There are anyway third party apis to query a single address, for example https://www.blockcypher.com/dev/ or https://chain.so/api

5
  • The pull request you refer to improves the listunspent RPC, which queries the wallet. It does not give you access to the network-side UTXO set. The does exist a gettxout RPC, however. Apr 17, 2017 at 7:43
  • Thanks, I misinterpreted. Anyway I'm still at a loss in understanding why there is no way to query the UTXO. A simple command to check if tx/index is in the UTXO would be a great start, for example. Apr 17, 2017 at 16:33
  • 1
    That exists, it is called gettxout. Apr 17, 2017 at 17:42
  • @AlessandroPolverini did you find the answer to your question? Jun 26, 2017 at 13:14
  • No, I haven't find any method to list all the UTXO: you already have to know it to query one out of a tx. Jun 27, 2017 at 9:28

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.