<p>Bitcoin Core only tracks your own wallet’s addresses. If you want to look up a foreign address, either you have to import it to a watch-only wallet and rescan, or use a different software that has an address index.</p>
<p>The ability to look up any address is usually associated with the functionality of blockchain explorers. You could either use the API of one of many publicly available blockchain explorers, or run your own version of e.g. the <a href="https://github.com/mempool/mempool" rel="nofollow noreferrer">Mempool block explorer project</a> or <a href="https://github.com/Blockstream/esplora" rel="nofollow noreferrer">Esplora</a>.</p>

CC BY-SA 4.0
2024-03-13T01:54:44.910Z
What software has the function that has an address index?
muxi
CC BY-SA 4.0
2024-03-12T13:55:45.230Z
2024-03-13T13:22:31.820Z
2024-03-13T13:22:31.820Z
Murch
<p>I used the listtransactions method to get transaction records, but it returned an empty collection.<a href="https://i.sstatic.net/yxdtZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yxdtZ.png" alt="enter image description here" /></a></p>
<p>Is it a configuration file problem or other reasons?</p>

<bitcoin-core><bitcoind><bitcoin-cli>
Is there a method in the Bitcoin RPC API to view all transaction records of a given address?
muxi
# Is there a method in the Bitcoin RPC API to view all transaction records of a given address?

(Asked by: username_0 on 2024-03-12)

I used the listtransactions method to get transaction records, but it returned an empty collection.[![enter image description here](https://i.sstatic.net/yxdtZ.png)](https://i.sstatic.net/yxdtZ.png)

Is it a configuration file problem or other reasons?

**Tags:** bitcoin-core, bitcoind, bitcoin-cli


---

## 1 answers

### Answer by username_1 on 2024-03-12. Score: 1

Bitcoin Core only tracks your own wallet’s addresses. If you want to look up a foreign address, either you have to import it to a watch-only wallet and rescan, or use a different software that has an address index.

The ability to look up any address is usually associated with the functionality of blockchain explorers. You could either use the API of one of many publicly available blockchain explorers, or run your own version of e.g. the [Mempool block explorer project](https://github.com/mempool/mempool) or [Esplora](https://github.com/Blockstream/esplora).

> **Comments:**
> **username_0**: What software has the function that has an address index?  

---

