<p>So...</p>

<p>Seems like <code>listunspent</code> is actually working fine. However, <code>importmulti</code> doesn't seem to scan mempool for transactions.</p>

CC BY-SA 4.0
2020-05-13T23:11:50.427Z
2020-05-13T23:11:50.427Z
elderapo
<p>I am unable to list unspent unconfirmed transactions for watch-only addresses. Once the transaction gets at least 1 confirmation it gets included in the returned result.</p>

<p>This is the command I am running (split into multiple lines for easier comments):</p>



<pre><code>bitcoin-cli
   -rpcwallet=*** # redacted wallet name
   listunspent 0 # minconf
   99999 # maxconf
   [] # addresses - empty seems to mean all
   true # include_unsafe
</code></pre>

<p>Documentation of <code>include_unsafe</code>: </p>

<blockquote>
  <p>Whether this output is considered safe to spend. <strong>Unconfirmed transactions</strong> from outside keys are considered <strong>unsafe</strong> and are not eligible for spending by fundrawtransaction and sendtoaddress.</p>
</blockquote>

<p>This statement makes me think that this is an actual bug. It's worth noting that for addresses generated by wallet (not watchonly) unconfirmed transactions are showing just fine...</p>

<bitcoin-core><bitcoin-cli>
listunspent rpc/cli command doesn't seem to list unspent unconfirmed transactions for watch-only addresses
elderapo
# listunspent rpc/cli command doesn't seem to list unspent unconfirmed transactions for watch-only addresses

(Asked by: username_0 on 2020-05-13)

I am unable to list unspent unconfirmed transactions for watch-only addresses. Once the transaction gets at least 1 confirmation it gets included in the returned result.
This is the command I am running (split into multiple lines for easier comments):
bitcoin-cli
   -rpcwallet=*** # redacted wallet name
   listunspent 0 # minconf
   99999 # maxconf
   [] # addresses - empty seems to mean all
   true # include_unsafe

Documentation of include_unsafe: 

Whether this output is considered safe to spend. Unconfirmed transactions from outside keys are considered unsafe and are not eligible for spending by fundrawtransaction and sendtoaddress.

This statement makes me think that this is an actual bug. It's worth noting that for addresses generated by wallet (not watchonly) unconfirmed transactions are showing just fine...

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


---

## 1 answers

### Answer by username_0 on 2020-05-13. Score: 0

So...

Seems like `listunspent` is actually working fine. However, `importmulti` doesn't seem to scan mempool for transactions.


---

