Is it possible to get all transactions from a single address with bitcoind?


For an address that is in your wallet, you can use the listreceivedbyaddress command. You would use the command as follows to get the transactions related to an address <address>:

bitcoin-cli listreceivedbyaddress 0 true true <address>

The 0 means list all transactions, including unconfirmed ones. The first true indicates that the address should still appear in the output even if there are no transactions; it just won't have any transactions listed under it. The second true means to include watching only addresses in the output. This only matters if your address is a watch only address.

If the address is not in your wallet, you cannot get all transactions for an address. This is because that would require maintaining an address index which Bitcoin Core does not do. Address indexes require more computing power and are not useful to the functioning of the node.


You can use command "listtransaction".


Good luck =)

  • No, that only lists transactions that affect your own wallet. Jul 12 '18 at 1:34

yes. try this command: bitcoin-cli -regtest getrawtransaction 1.

This command will give you all transactions for the required address.

  • That is not at all what getrawtransaction does. It gives you the raw transaction for a specific transaction. It has nothing to do with addresses.
    – Andrew Chow
    Sep 16 '18 at 2:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.