<p>The <a href="https://developer.bitcoin.org/reference/rpc/importprunedfunds.html" rel="nofollow noreferrer">documentation for <code>importprunedfunds</code></a> says</p>
<blockquote>
<p>Imports funds without rescan. <strong>Corresponding address or script must previously be included in wallet</strong>. Aimed towards pruned wallets. <strong>The end-user is responsible to import additional transactions that subsequently spend the imported outputs</strong> or rescan after the point in the blockchain the transaction is included</p>
</blockquote>
<p>(my emphasis)</p>
<hr />
<p>Related:</p>
<ul>
<li><a href="https://bitcoin.stackexchange.com/q/113637/13866">Remove descriptor from a Bitcoin Core wallet</a></li>
<li><a href="https://bitcointalk.org/index.php?topic=5335699.0" rel="nofollow noreferrer">How do I import privkeys if my blockchain is pruned?</a></li>
</ul>

CC BY-SA 4.0
2024-08-06T08:56:35.607Z
2024-08-06T10:07:45.840Z
2024-08-06T10:07:45.840Z
RedGrittyBrick
<pre><code>bitcoin-cli -rpcwallet=leg importprunedfunds getrawtransaction gettxoutproof
</code></pre>
<p>after that I get only read only, what am I doing wrong?</p>

CC BY-SA 4.0
2024-08-10T06:23:31.583Z
You should be a bit more specific on what you want to do exactly. One introducing sentence would be great here. Only giving a CLI command might be okay for someone who knows exactly what you mean, but others might also be interested, especially when there's an accepted answer.
TomS
<import><cli>
how import in my client
user155681
# how import in my client

(Asked by: username_0 on 2024-08-05)

bitcoin-cli -rpcwallet=leg importprunedfunds getrawtransaction gettxoutproof

after that I get only read only, what am I doing wrong?

**Tags:** import, cli

> **Comments:**
> **username_1**: You should be a bit more specific on what you want to do exactly. One introducing sentence would be great here. Only giving a CLI command might be okay for someone who knows exactly what you mean, but others might also be interested, especially when there's an accepted answer.  

---

## 1 answers

### Answer by username_2 on 2024-08-06. Score: 1

The [documentation for `importprunedfunds`](https://developer.bitcoin.org/reference/rpc/importprunedfunds.html) says

> Imports funds without rescan. **Corresponding address or script must previously be included in wallet**. Aimed towards pruned wallets. **The end-user is responsible to import additional transactions that subsequently spend the imported outputs** or rescan after the point in the blockchain the transaction is included

(my emphasis)

---

Related:

* [Remove descriptor from a Bitcoin Core wallet](https://bitcoin.stackexchange.com/q/113637/13866)
* [How do I import privkeys if my blockchain is pruned?](https://bitcointalk.org/index.php?topic=5335699.0)


---

