<p>It seems that v0.10.0 is not documented yet, apart from the release notes. Referring to the github repository: <a href="https://github.com/bitcoin/bitcoin/pull/4045" rel="nofollow">Issue #4045</a></p>

<p>It appears that a boolean watchonly argument is needed at the end of those commands. Thus below commands would work:</p>

<pre><code>bitcoin-cli listtransactions testacc 100 0 true
</code></pre>

<p>or </p>

<pre><code>bitcoin-cli listreceivedbyaddress 0 false true [account, includeempty, includewatchonly]
</code></pre>

CC BY-SA 3.0
2015-02-28T21:51:20.807Z
2015-02-28T21:51:20.807Z
alpdeniz
<p>I imported a watch-only address to bitcoind by using below command:</p>

<pre><code>bitcoin-cli importaddress &lt;myaddress&gt; "testacc" true
</code></pre>

<p>According to <a href="https://bitcoin.org/en/release/v0.10.0" rel="nofollow">release notes</a> it should support some rpc calls for this watch- only address:</p>

<blockquote>
  <p>The following RPCs have optional support for watch-only: getbalance, listreceivedbyaddress, listreceivedbyaccount, listtransactions, listaccounts, listsinceblock, gettransaction.</p>
</blockquote>

<p>Even it is not written in release notes, i can catch new transactions by calling <em>listunspent</em>. But the problem is when i try to call</p>

<pre><code>bitcoin-cli listtransactions testacc
</code></pre>

<p>or </p>

<pre><code>bitcoin-cli listreceivedbyaddress 0
</code></pre>

<p>the first call returns an empty array and the result of second call doesn't contains any information about this watch-only address. What may be the problem here?</p>

<bitcoind><json-rpc><watch-only>
watch-only addresses doesn't work properly in bitcoind v0.10.0
paddlesteamer
# watch-only addresses doesn't work properly in bitcoind v0.10.0

(Asked by: username_0 on 2015-02-28)

I imported a watch-only address to bitcoind by using below command:

```
bitcoin-cli importaddress <myaddress> "testacc" true

```

According to [release notes](https://bitcoin.org/en/release/v0.10.0) it should support some rpc calls for this watch- only address:

> The following RPCs have optional support for watch-only: getbalance, listreceivedbyaddress, listreceivedbyaccount, listtransactions, listaccounts, listsinceblock, gettransaction.

Even it is not written in release notes, i can catch new transactions by calling *listunspent*. But the problem is when i try to call

```
bitcoin-cli listtransactions testacc

```

or

```
bitcoin-cli listreceivedbyaddress 0

```

the first call returns an empty array and the result of second call doesn't contains any information about this watch-only address. What may be the problem here?

**Tags:** bitcoind, json-rpc, watch-only


---

## 1 answers

### Answer by username_1 on 2015-02-28. Score: 4 | Accepted answer

It seems that v0.10.0 is not documented yet, apart from the release notes. Referring to the github repository: [Issue #4045](https://github.com/bitcoin/bitcoin/pull/4045)

It appears that a boolean watchonly argument is needed at the end of those commands. Thus below commands would work:

```
bitcoin-cli listtransactions testacc 100 0 true

```

or

```
bitcoin-cli listreceivedbyaddress 0 false true [account, includeempty, includewatchonly]

```


---

