<p>Apparently this command only works for <em>addresses in my wallet</em>, and moreover, there is apparently no way for the reference client to do this query for addresses not in the wallet (doh :-/)</p>

CC BY-SA 3.0
2017-11-21T17:17:38.033Z
Exactly. You'll need some blockchain indexing software if you want to query arbitrary addresses.
Pieter Wuille
CC BY-SA 3.0
2017-11-20T21:11:14.853Z
2017-11-20T21:11:14.853Z
Harry Pillsbury
<p>I tried using the listunspent command as follows:</p>

<pre><code>bitcoin-cli listunspent 10 9999999 "[\"32jdC23ABv86M2ptiqMzFzCaufBtE2NCdN\"]"
</code></pre>

<p>and it shows a blank output ([]), however, when I look up the same address on Blockchaininfo.com it shows the correct outputs. What could be the problem?</p>

<p>The only issue I can think of is that my node is still catching up, but it is 95% done, so the data should be there.</p>

<listunspent>
My local client not showing correct output for listunspent
Harry Pillsbury
# My local client not showing correct output for listunspent

(Asked by: username_0 on 2017-11-20)

I tried using the listunspent command as follows:
bitcoin-cli listunspent 10 9999999 "[\"32jdC23ABv86M2ptiqMzFzCaufBtE2NCdN\"]"

and it shows a blank output ([]), however, when I look up the same address on Blockchaininfo.com it shows the correct outputs. What could be the problem?
The only issue I can think of is that my node is still catching up, but it is 95% done, so the data should be there.

**Tags:** listunspent


---

## 1 answers

### Answer by username_0 on 2017-11-20. Score: 2

Apparently this command only works for *addresses in my wallet*, and moreover, there is apparently no way for the reference client to do this query for addresses not in the wallet (doh :-/)

> **Comments:**
> **username_1**: Exactly. You'll need some blockchain indexing software if you want to query arbitrary addresses.  

---

