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?

3 Answers 3


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.


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.

  • 1
    That only works for wallet addresses. I want to look up addresses that are not in the wallet. Aug 21, 2017 at 22:28

I have written a program in Python3 that allows you to search any address on bitcoin core whether it belongs to your wallet or not.

Here is the github link:


Let me know what you think and any improvements you might have.

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.