And for example, this fails with "Error -5 missing checksum": bitcoin-cli -rpcwallet=some_wallet importdescriptors '[{"desc": "addr(<address>)", "timestamp": "now"}]'
Checksum goes after the descriptor.
But first, to get the checksum: use
getdescriptorinfo command.
Example (
Regtest):
getdescriptorinfo "addr(bcrt1qjd5q9e4du3rj4f0gux9794tmf330rtaplqkel9)"
Result:
-snip- "checksum": "xtu8a9fg",
-snip- Then, include it to your
importdescriptors command.
Example:
importdescriptors "[{\"desc\": \"addr(bcrt1qjd5q9e4du3rj4f0gux9794tmf330rtaplqkel9)#xtu8a9fg\",\"timestamp\": \"now\"}]"