<p>You can't. Bitcoin Core does not index transaction based on address.</p>

<p>If you want to do this, you'll either need an indexing tool/service, or implement the P2P protocol yourself to be notified of all transactions.</p>

CC BY-SA 3.0
2017-06-06T23:58:26.930Z
2017-06-06T23:58:26.930Z
Pieter Wuille
<p>I run a Bitcoin node with <code>txindex=1</code> so I can retrieve any transaction from the txId.
My question: if I have any public address, how can I retrieve all transactions involving this address (inputs and outputs) with the Bitcoin Core commands ?</p>

CC BY-SA 3.0
2017-06-06T23:55:21.127Z
Something like this:
https://blockchain.info/fr/address/19HuaNprtc8MpG6bmiPoZigjaEu9xccxps
jfjobidon
<bitcoind>
How to retrieve all transactions from a public address?
jfjobidon
# How to retrieve all transactions from a public address?

(Asked by: username_0 on 2017-06-06)

I run a Bitcoin node with `txindex=1` so I can retrieve any transaction from the txId.
My question: if I have any public address, how can I retrieve all transactions involving this address (inputs and outputs) with the Bitcoin Core commands ?

**Tags:** bitcoind

> **Comments:**
> **username_0**: Something like this: https://blockchain.info/fr/address/19HuaNprtc8MpG6bmiPoZigjaEu9xccxps  

---

## 1 answers

### Answer by username_1 on 2017-06-06. Score: 2

You can't. Bitcoin Core does not index transaction based on address.

If you want to do this, you'll either need an indexing tool/service, or implement the P2P protocol yourself to be notified of all transactions.


---

