<p>The software version is unrelated to this error. You get this error because the target wallet is a Descriptor wallet (which exist prior to 23.0). <code>importmulti</code> is not allowed to be used with descriptor wallets. However you can use <code>importdescriptors</code>.</p>
<p>Not all descriptors must have xpubs. If you know the spending conditions for the address (internal key, tapscripts, and the tapscript tree), then you can create a <code>tr()</code> descriptor with normal pubkeys.</p>
<p>Otherwise you can create an <code>addr()</code> descriptor and import that instead. That would be <code>addr(bcrt1pp375ce9lvxs8l9rlsl78u4szhqa7za748dfhtjj5ht05lufu4dwsshpxl6)</code>.</p>
<p>Note that you may need to create a new wallet with the &quot;Disable Private Keys&quot; option.</p>
<hr />
<p>The full command that you should use is</p>
<pre><code>bitcoin-cli -rpcwallet=mywallet importdescriptors '[{&quot;desc&quot;:&quot;addr(bcrt1pp375ce9lvxs8l9rlsl78u4szhqa7za748dfhtjj5ht05lufu4dwsshpxl6)#ngm593tu&quot;,&quot;timestamp&quot;:&quot;now&quot;}]'
</code></pre>
<p>You do not need to specify <code>internal</code>, <code>watchonly</code>, or <code>active</code>. You have currently specified <code>&quot;active&quot;: true</code> which is incorrect as such a descriptor cannot be used as an active descriptor (i.e. it cannot be used to create new addresses).</p>

CC BY-SA 4.0
2022-09-13T04:42:24.013Z
bitcoin@backend1:/$ bitcoin-cli importdescriptors '[{ "desc": "addr(bcrt1pp375ce9lvxs8l9rlsl78u4szhqa7za748dfhtjj5ht05lufu4dwsshpxl6)",
Ashley Hendricskon
CC BY-SA 4.0
2022-09-13T04:42:30.950Z
"timestamp":1662835676, "internal": true }]'
[
  {
    "success": false,
    "error": {
      "code": -5,
      "message": "Missing checksum"
    }
  }
]
Ashley Hendricskon
CC BY-SA 4.0
2022-09-13T04:43:36.137Z
The first comment yields the result above what would be the checksum? that's missing
Ashley Hendricskon
CC BY-SA 4.0
2022-09-13T05:29:38.313Z
I added my comment to the "answer" above as I can't post images in the comment section
Ashley Hendricskon
CC BY-SA 4.0
2022-09-13T09:08:50.310Z
@AshleyHendricskon Please add additional information to your question rather than to a fake answer. Your question has an "Edit" link below it. It is also far better to add text rather than images of text.
RedGrittyBrick
CC BY-SA 4.0
2022-09-13T04:24:39.360Z
2022-09-13T15:23:08.490Z
2022-09-13T15:23:08.490Z
Ava Chow
<p>I used to tapscript to generate a taproot address thus I don't know what the related xpub key would be so I can't easily import a descriptor. I know that bitcoin-cli version 21 was able to watch a readonly address with the following command:</p>
<pre><code> bitcoin-cli importmulti '[{&quot;scriptPubKey&quot;: {&quot;address&quot;: &quot;bcrt1pp375ce9lvxs8l9rlsl78u4szhqa7za748dfhtjj5ht05lufu4dwsshpxl6&quot;},&quot;timestamp&quot;:1662835676}]' '{&quot;rescan&quot;:false}'
 
</code></pre>
<p>However, the same command for bitcoin version 23 returns the following error</p>
<p><strong>&quot;This type of wallet does not support this command&quot;</strong></p>
<p>How can I rewrite the command above to watch a read-only address in bitcoin version 23? just like in bitcoin version 21</p>
<hr />
<p><a href="https://i.sstatic.net/Xpidd.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Xpidd.png" alt="getdescriptorinfo" /></a></p>
<p><a href="https://i.sstatic.net/dXYVa.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dXYVa.png" alt="createwallet" /></a></p>
<p><a href="https://i.sstatic.net/DdgyE.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/DdgyE.png" alt="importdescriptors" /></a></p>
<p>after getting the correct descriptor, creating a wallet, and importing the descriptor we are still getting the following error.</p>

CC BY-SA 4.0
2022-09-13T04:19:12.767Z
specifically referring to this repo https://github.com/bitcoin/bitcoin.git
Ashley Hendricskon
<bitcoin-core><client><bitcoin-core-development><bitcoin-cli>
bitcoin-cli importmulti readonly address "This type of wallet does not support this command"
Ashley Hendricskon
# bitcoin-cli importmulti readonly address "This type of wallet does not support this command"

(Asked by: username_0 on 2022-09-13)

I used to tapscript to generate a taproot address thus I don't know what the related xpub key would be so I can't easily import a descriptor. I know that bitcoin-cli version 21 was able to watch a readonly address with the following command:

```
 bitcoin-cli importmulti '[{"scriptPubKey": {"address": "bcrt1pp375ce9lvxs8l9rlsl78u4szhqa7za748dfhtjj5ht05lufu4dwsshpxl6"},"timestamp":1662835676}]' '{"rescan":false}'
 

```

However, the same command for bitcoin version 23 returns the following error

**"This type of wallet does not support this command"**

How can I rewrite the command above to watch a read-only address in bitcoin version 23? just like in bitcoin version 21

---

[![getdescriptorinfo](https://i.sstatic.net/Xpidd.png)](https://i.sstatic.net/Xpidd.png)

[![createwallet](https://i.sstatic.net/dXYVa.png)](https://i.sstatic.net/dXYVa.png)

[![importdescriptors](https://i.sstatic.net/DdgyE.png)](https://i.sstatic.net/DdgyE.png)

after getting the correct descriptor, creating a wallet, and importing the descriptor we are still getting the following error.

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

> **Comments:**
> **username_0**: specifically referring to this repo https://github.com/bitcoin/bitcoin.git  

---

## 1 answers

### Answer by username_1 on 2022-09-13. Score: 5

The software version is unrelated to this error. You get this error because the target wallet is a Descriptor wallet (which exist prior to 23.0). `importmulti` is not allowed to be used with descriptor wallets. However you can use `importdescriptors`.

Not all descriptors must have xpubs. If you know the spending conditions for the address (internal key, tapscripts, and the tapscript tree), then you can create a `tr()` descriptor with normal pubkeys.

Otherwise you can create an `addr()` descriptor and import that instead. That would be `addr(bcrt1pp375ce9lvxs8l9rlsl78u4szhqa7za748dfhtjj5ht05lufu4dwsshpxl6)`.

Note that you may need to create a new wallet with the "Disable Private Keys" option.

---

The full command that you should use is

```
bitcoin-cli -rpcwallet=mywallet importdescriptors '[{"desc":"addr(bcrt1pp375ce9lvxs8l9rlsl78u4szhqa7za748dfhtjj5ht05lufu4dwsshpxl6)#ngm593tu","timestamp":"now"}]'

```

You do not need to specify `internal`, `watchonly`, or `active`. You have currently specified `"active": true` which is incorrect as such a descriptor cannot be used as an active descriptor (i.e. it cannot be used to create new addresses).

> **Comments:**
> **username_0**: bitcoin@backend1:/$ bitcoin-cli importdescriptors '[{ "desc": "addr(bcrt1pp375ce9lvxs8l9rlsl78u4szhqa7za748dfhtjj5ht05lufu4dwsshpxl6)",  
> **username_0**: "timestamp":1662835676, "internal": true }]' [   {     "success": false,     "error": {       "code": -5,       "message": "Missing checksum"     }   } ]  
> **username_0**: The first comment yields the result above what would be the checksum? that's missing  
> **username_0**: I added my comment to the "answer" above as I can't post images in the comment section  
> **username_2**: @username_0 Please add additional information to your question rather than to a fake answer. Your question has an "Edit" link below it. It is also far better to add text rather than images of text.  

---

