<p>A standard multisig transaction does not have a bitcoin address. This is precisely why it is wrapped as the redeem script of a P2SH bitcoin address.</p>

<p>Raw multisig transactions are not used anymore.</p>

CC BY-SA 3.0
2017-10-14T14:21:07.800Z
Can you please point to the BIP or the source code that disables the use of the raw multisig? Thanks!
KostaZ
CC BY-SA 3.0
2017-10-13T01:33:26.570Z
2017-10-13T01:33:26.570Z
ecavero
<h1>Question</h1>

<p>A standard multisig transaction is:</p>

<ul>
<li>scriptPubkey = <code>m &lt;p1&gt; ... &lt;pn&gt; n OP_CHECKMULTISIG</code></li>
<li>scriptSig = <code>OP_0 &lt;s1&gt; ... &lt;sm&gt;</code></li>
</ul>

<p>Where: 1 &lt;= m &lt;= n &lt;= 3.</p>

<p>Note, that it is not P2SH transaction!</p>

<p>So, what is the Bitcoin Address for this transaction?
In case of escrow, what Bitcoin Address should be provided to the trading parties?</p>

<h1>Short glossary</h1>

<p>p = public key</p>

<p>pH = public key hash, RIPEMD(SHA(public key))</p>

<p>sH = hash of serialized script, RIPEMD(SHA(ser. script))</p>

<p>C = first 4-bytes of SHA256(SHA256(data), where data is </p>

<p>X = bitcoin address prefix (0x00 for P2PKH transaction, 0x05 for P2SH transaction)</p>

<p>0pHC = concatenation of bytes (0: 1-byte, pH: 32-bytes, C: 4-bytes)</p>

<h1>Bitcoin Addresses</h1>

<h3>P2PK transaction</h3>

<p>The "Bitcoin Address" for P2PK is <strong>Base58(XpC)</strong>, where "X" (bitcoin address prefix) is not currently defined for P2PK transaction type. See <a href="https://en.bitcoin.it/wiki/List_of_address_prefixes" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/List_of_address_prefixes</a>.</p>

<p>Where:</p>

<ul>
<li><strong>X</strong> is the bitcoin address prefix (for example, 0x02)</li>
<li><strong>p</strong> is the public key</li>
<li><strong>C</strong> is the checksum (SHA^2(public key))</li>
<li><strong>XpC</strong> is the concatenation of <strong>X</strong> byte, <strong>p</strong> string and <strong>C</strong> 4-bytes</li>
</ul>

<h3>P2PKH transaction</h3>

<p>The "Bitcoin Address" for P2PKH transaction is <strong>Base58(0pHC)</strong>.</p>

<h3>P2SH transaction</h3>

<p>The "Bitcoin Address" for P2SH transaction is <strong>Base58(5sHC)</strong>.</p>

<p>So, again, what may be the Bitcoin Address for standard multisig transaction?</p>

<p>Thanks,
--- Kosta Z.</p>

<multi-signature>
What is the "Bitcoin Address" for standard multisig transaction?
KostaZ
# What is the "Bitcoin Address" for standard multisig transaction?

(Asked by: username_0 on 2017-10-09)

# Question

A standard multisig transaction is:

* scriptPubkey = `m  ...  n OP_CHECKMULTISIG`
* scriptSig = `OP_0  ...`

Where: 1 <= m <= n <= 3.

Note, that it is not P2SH transaction!

So, what is the Bitcoin Address for this transaction?
In case of escrow, what Bitcoin Address should be provided to the trading parties?

# Short glossary

p = public key

pH = public key hash, RIPEMD(SHA(public key))

sH = hash of serialized script, RIPEMD(SHA(ser. script))

C = first 4-bytes of SHA256(SHA256(data), where data is

X = bitcoin address prefix (0x00 for P2PKH transaction, 0x05 for P2SH transaction)

0pHC = concatenation of bytes (0: 1-byte, pH: 32-bytes, C: 4-bytes)

# Bitcoin Addresses

### P2PK transaction

The "Bitcoin Address" for P2PK is **Base58(XpC)**, where "X" (bitcoin address prefix) is not currently defined for P2PK transaction type. See <https://en.bitcoin.it/wiki/List_of_address_prefixes>.

Where:

* **X** is the bitcoin address prefix (for example, 0x02)
* **p** is the public key
* **C** is the checksum (SHA^2(public key))
* **XpC** is the concatenation of **X** byte, **p** string and **C** 4-bytes

### P2PKH transaction

The "Bitcoin Address" for P2PKH transaction is **Base58(0pHC)**.

### P2SH transaction

The "Bitcoin Address" for P2SH transaction is **Base58(5sHC)**.

So, again, what may be the Bitcoin Address for standard multisig transaction?

Thanks,
--- Kosta Z.

**Tags:** multi-signature


---

## 1 answers

### Answer by username_1 on 2017-10-13. Score: 2

A standard multisig transaction does not have a bitcoin address. This is precisely why it is wrapped as the redeem script of a P2SH bitcoin address.

Raw multisig transactions are not used anymore.

> **Comments:**
> **username_0**: Can you please point to the BIP or the source code that disables the use of the raw multisig? Thanks!  

---

