<p><code>validateaddress</code> has changed to be separate from the wallet, so it cannot look up the public key information for an address. Use <code>getaddressinfo</code> instead in order to get all of the wallet information for an address, including the public key.</p>

CC BY-SA 4.0
2018-11-06T14:02:00.880Z
2018-11-06T14:02:00.880Z
Ava Chow
<p>I want to generate multisignature address with person, which I didn't know.</p>

<p>Someone send me a public key. Then I do:</p>

<pre><code>bitcoin-cli getnewaddress "" legacy
</code></pre>

<p>Ok, I got </p>

<pre><code>1QKVwuQnu69HgsMVvynFhApYmmdLf8bMKT
</code></pre>

<p>After that, I need to know my own public key:</p>

<pre><code>bitcoin-cli validateaddress "1QKVwuQnu69HgsMVvynFhApYmmdLf8bMKT"
</code></pre>

<p>But v.017 do not give me a public key:</p>

<pre><code>{
"isvalid": true,
"address": "1QKVwuQnu69HgsMVvynFhApYmmdLf8bMKT",
  "scriptPubKey": "76a914ffca8b339408c5eb664513f62c98256c5edcc98b88ac",
  "isscript": false,
  "iswitness": false
} 
</code></pre>

<p>Is there any way to generate multisignature address (2 of 2) if wallet do not know one of this addressess ?</p>

<bitcoind><multi-signature>
Bitcoin 0.17 No public key shown (validateaddress)
Andrew
# Bitcoin 0.17 No public key shown (validateaddress)

(Asked by: username_0 on 2018-11-06)

I want to generate multisignature address with person, which I didn't know.
Someone send me a public key. Then I do:
bitcoin-cli getnewaddress "" legacy

Ok, I got 
1QKVwuQnu69HgsMVvynFhApYmmdLf8bMKT

After that, I need to know my own public key:
bitcoin-cli validateaddress "1QKVwuQnu69HgsMVvynFhApYmmdLf8bMKT"

But v.017 do not give me a public key:
{
"isvalid": true,
"address": "1QKVwuQnu69HgsMVvynFhApYmmdLf8bMKT",
  "scriptPubKey": "76a914ffca8b339408c5eb664513f62c98256c5edcc98b88ac",
  "isscript": false,
  "iswitness": false
} 

Is there any way to generate multisignature address (2 of 2) if wallet do not know one of this addressess ?

**Tags:** bitcoind, multi-signature


---

## 1 answers

### Answer by username_1 on 2018-11-06. Score: 6 | Accepted answer

`validateaddress` has changed to be separate from the wallet, so it cannot look up the public key information for an address. Use `getaddressinfo` instead in order to get all of the wallet information for an address, including the public key.


---

