I was trying to import Bech32 addresses using importmulti
on Bitcoin Core 0.16.0rc3.
[
{
"scriptPubKey" : { "address": "tb1qkzq7kgx7rk45na3d3vt6vrqftfczq6ryn9zq0d" },
"timestamp" : "now",
"watchonly" : "true"
}
] , { "rescan": false }
Response:
Please enter the wallet passphrase with walletpassphrase first.
Why that error? and shouldn't I add witness scrpit instead of scriptPubKey?