<p>What is difference between createmultisig and addmultisigaddress? I ran 2 methods for 2 same bitcoin address on bitcoin-cli but gives different addresses as multisig to me. the results are as follows:</p>
<pre><code>&gt;  bitcoin-cli -testnet createmultisig 2 &quot;[\&quot;03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214\&quot;,\&quot;0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5\&quot;]&quot;
RESULT:
{
  &quot;address&quot;: &quot;**2Mt1jgrBoojAHbJS5zGJTZnx4TFktUCCNxu**&quot;,
  &quot;redeemScript&quot;: &quot;522103f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214210395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b552ae&quot;,
  &quot;descriptor&quot;: &quot;sh(multi(2,03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214,0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5))#6nexfs8d&quot;
} ```

</code></pre>
<pre><code>&gt; bitcoin-cli -testnet addmultisigaddress 2 &quot;[\&quot;2NEy9um4CpWerPeaEhPa3TckNYWnh58yDXN\&quot;,\&quot;2Mxr2oaph8iapbnbL1MSEvfZH8EQaXYuhAy\&quot;]&quot;

RESULT: 
 {
  &quot;address&quot;: &quot;**tb1qjyvx2kwl4kq2cypj5zawhw5gpwxmphxe487z3hxj9m36ux8tylpszpazsu**&quot;,
  &quot;redeemScript&quot;: &quot;522103f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214210395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b552ae&quot;,
  &quot;descriptor&quot;: &quot;wsh(multi(2,[a025344d/0'/0'/0']03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214,[a025344d/0'/0'/1']0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5))#gmdd9d2p&quot;
}

</code></pre>
<p>why those addresses is different?</p>
<p>thank you</p>

<multi-signature><bitcoin-cli>
Difference between createmultisig and addmultisigaddress on v 0.20.0?
sollover
# Difference between createmultisig and addmultisigaddress on v 0.20.0?

(Asked by: username_0 on 2020-11-18)

What is difference between createmultisig and addmultisigaddress? I ran 2 methods for 2 same bitcoin address on bitcoin-cli but gives different addresses as multisig to me. the results are as follows:
>  bitcoin-cli -testnet createmultisig 2 "[\"03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214\",\"0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5\"]"
RESULT:
{
  "address": "**2Mt1jgrBoojAHbJS5zGJTZnx4TFktUCCNxu**",
  "redeemScript": "522103f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214210395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b552ae",
  "descriptor": "sh(multi(2,03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214,0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5))#6nexfs8d"
} ```


> bitcoin-cli -testnet addmultisigaddress 2 "[\"2NEy9um4CpWerPeaEhPa3TckNYWnh58yDXN\",\"2Mxr2oaph8iapbnbL1MSEvfZH8EQaXYuhAy\"]"

RESULT: 
 {
  "address": "**tb1qjyvx2kwl4kq2cypj5zawhw5gpwxmphxe487z3hxj9m36ux8tylpszpazsu**",
  "redeemScript": "522103f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214210395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b552ae",
  "descriptor": "wsh(multi(2,[a025344d/0'/0'/0']03f47a5115cd9e5e21b94136db90e2e3d6ac7e40396d8e62f73df3fd3fcfb3f214,[a025344d/0'/0'/1']0395ad430034c1761bbe9b4dfd784fb06229970d54016a7e090fc6ceb3814611b5))#gmdd9d2p"
}


why those addresses is different?
thank you

**Tags:** multi-signature, bitcoin-cli


---

## 0 answers

