How can I get the transaction indexes involving a particular address

1

If I want to work with a particular address, I need to know all the transaction indices/hashes that have inputs or outputs to/from that address. How can I find out those values assuming that I have the Bitcoin core installed and synced. Is there a command I can give that will return that information for a given address?

Tyler Durden

Posted 2017-08-21T19:01:25.530

Reputation: 828

Answers

1

Bitcoin Core has no option to maintain an index of addresses, thus you cannot search by address or search for things related to an address.

Andrew Chow

Posted 2017-08-21T19:01:25.530

Reputation: 40 910

0

The command you're looking for is the listunspent command, which lists the UTXOs in your wallet and gives out the txid and output index for each one.

MeshCollider

Posted 2017-08-21T19:01:25.530

Reputation: 8 735

1That only works for wallet addresses. I want to look up addresses that are not in the wallet.Tyler Durden 2017-08-21T22:28:56.373