Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Cryddit on December 26, 2013, 06:33:00 PM



Title: How can I get a list of UTXO keys?
Post by: Cryddit on December 26, 2013, 06:33:00 PM
Is there a handy way to use the RPC interface (or something) to extract a list of the transactions (including pubkeys) associated with unspent txouts?  Some special command on blockchain.org?  Something?  I know the client has to build and keep this list handy; I'm just wondering if there's a way to look at it.


Title: Re: How can I get a list of UTXO keys?
Post by: maaku on December 26, 2013, 10:32:28 PM
listunspent


Title: Re: How can I get a list of UTXO keys?
Post by: Cryddit on December 27, 2013, 01:25:05 AM
thank you.  ;D


Title: Re: How can I get a list of UTXO keys?
Post by: Cryddit on December 27, 2013, 01:37:52 AM
Um. 

I can't find any way to use 'listunspent' to get more than just the utxo's associated with a particular wallet or account. 

I want a list of all the unspent txouts in the entire blockchain. 

Am I missing something, or do I just need to write a blockchain explorer to get my list?


Title: Re: How can I get a list of UTXO keys?
Post by: maaku on December 27, 2013, 02:10:40 AM
You didn't say you wanted the entire unspent transaction output set ;)

There is no way that I know of to do this from the command line / JSON-RPC, although that information is in your local database. You could write your own JSON-RPC handler to do it.


Title: Re: How can I get a list of UTXO keys?
Post by: digitizedcurrency2010 on December 12, 2014, 07:30:13 AM
I am wondering if someone is working on this.  If we have a list of bitcoin address / public key would this method give us the list of UTXO ?


Title: Re: How can I get a list of UTXO keys?
Post by: dexX7 on December 13, 2014, 04:21:06 AM
You may use http://redeem.bitwatch.co/ and remove the dust value limitations via the settings tab to catch non-dust transactions as well (e.g. min. amount: 0, max. amount: 9999999). I build it to help meta-coin users to reclaim multisig output dust, but it should be possible to locate other unspent outputs as well.

More information and alternatives were mentioned in a similar thread:
https://bitcointalk.org/index.php?topic=873704.msg9657764