<p>This is mentioned in the <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-22.0.md#new-and-updated-rpcs" rel="nofollow noreferrer">22.0 release notes</a>:</p>
<blockquote>
<p>The following RPCs: <code>gettxout</code>, <code>getrawtransaction</code>, <code>decoderawtransaction</code>, <code>decodescript</code>, <code>gettransaction</code>, and REST endpoints: <code>/rest/tx</code>, <code>/rest/getutxos</code>, <code>/rest/block</code> deprecated the following fields (which are no longer returned in the responses by default): <code>addresses</code>, <code>reqSigs</code>. The <code>-deprecatedrpc=addresses</code> flag must be passed for these fields to be included in the RPC response. This flag/option will be available only for this major release, after which the deprecation will be removed entirely. Note that these fields are attributes of the <code>scriptPubKey</code> object returned in the RPC response. However, in the response of <code>decodescript</code> these fields are top-level attributes, and included again as attributes of the scriptPubKey object. (#20286)</p>
</blockquote>
<p>The reason is simply that these fields were nonsensical and misleading. Outputs only have a single address at most. The RPC output dates from a time when addresses and key identifiers were conflated - a historical mistake.</p>
<p>The new <code>&quot;address&quot;</code> field reports the address, under the modern interpretation. It differs in the case of bare multisig outputs. These outputs are rare nowadays, and more importantly <strong>do not have a corresponding address</strong> at all. The values reported in the older <code>&quot;addresses&quot;</code> field were not addresses for this output; they are the would-be P2PKH address for sending to the individual public keys in that multisig output. But those have barely any relation to the actual output, and confused people into thinking that e.g. one could send to these individually (which is not generally the case).</p>

CC BY-SA 4.0
2022-03-29T20:22:29.923Z
2022-03-29T20:22:29.923Z
Pieter Wuille
<p>anyone can suggest why addresses won't decode in newer versions?</p>
<p>example:
bitcoin-core 0.21</p>
<pre><code>bitcoin-cli getrawtransaction 9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3 1
{
  &quot;txid&quot;: &quot;9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3&quot;,
  &quot;hash&quot;: &quot;9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3&quot;,
  &quot;version&quot;: 1,
  &quot;size&quot;: 404,
  &quot;vsize&quot;: 404,
  &quot;weight&quot;: 1616,
  &quot;locktime&quot;: 0,
  &quot;vin&quot;: [
    {
      &quot;txid&quot;: &quot;e5e4e758102d9d677e26fa1029a69e1a6dd1e4c60a89990c3c47c207b455fdde&quot;,
      &quot;vout&quot;: 0,
      &quot;scriptSig&quot;: {
        &quot;asm&quot;: &quot;3045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe[ALL] 04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0&quot;,
        &quot;hex&quot;: &quot;483045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe014104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0&quot;
      },
      &quot;sequence&quot;: 4294967295
    }
  ],
  &quot;vout&quot;: [
    {
      &quot;value&quot;: 9.70342805,
      &quot;n&quot;: 0,
      &quot;scriptPubKey&quot;: {
        &quot;asm&quot;: &quot;OP_DUP OP_HASH160 dcfdb039e694e96dc9f49098abf5abe838ea4a2f OP_EQUALVERIFY OP_CHECKSIG&quot;,
        &quot;hex&quot;: &quot;76a914dcfdb039e694e96dc9f49098abf5abe838ea4a2f88ac&quot;,
        &quot;reqSigs&quot;: 1,
        &quot;type&quot;: &quot;pubkeyhash&quot;,
        &quot;addresses&quot;: [
          &quot;1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW&quot;
        ]
      }
    },
    {
      &quot;value&quot;: 0.00005757,
      &quot;n&quot;: 1,
      &quot;scriptPubKey&quot;: {
        &quot;asm&quot;: &quot;OP_DUP OP_HASH160 946cb2e08075bcbaf157e47bcb67eb2b2339d242 OP_EQUALVERIFY OP_CHECKSIG&quot;,
        &quot;hex&quot;: &quot;76a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac&quot;,
        &quot;reqSigs&quot;: 1,
        &quot;type&quot;: &quot;pubkeyhash&quot;,
        &quot;addresses&quot;: [
          &quot;1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P&quot;
        ]
      }
    },
    {
      &quot;value&quot;: 0.00005757,
      &quot;n&quot;: 2,
      &quot;scriptPubKey&quot;: {
        &quot;asm&quot;: &quot;OP_DUP OP_HASH160 966acb4de317bc06c44106c3301229aba2b4ed69 OP_EQUALVERIFY OP_CHECKSIG&quot;,
        &quot;hex&quot;: &quot;76a914966acb4de317bc06c44106c3301229aba2b4ed6988ac&quot;,
        &quot;reqSigs&quot;: 1,
        &quot;type&quot;: &quot;pubkeyhash&quot;,
        &quot;addresses&quot;: [
          &quot;1EiLHxqVWZ8qPFcRJ4WpZk1HPbmy2PTMs8&quot;
        ]
      }
    },
    {
      &quot;value&quot;: 0.00011514,
      &quot;n&quot;: 3,
      &quot;scriptPubKey&quot;: {
        &quot;asm&quot;: &quot;1 04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0 021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b02 2 OP_CHECKMULTISIG&quot;,
        &quot;hex&quot;: &quot;514104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa021021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b0252ae&quot;,
        &quot;reqSigs&quot;: 1,
        &quot;type&quot;: &quot;multisig&quot;,
        &quot;addresses&quot;: [
          &quot;1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW&quot;,
          &quot;1vAryhyeqrBkYBLcqGEUwPrRC4U4MfbNc&quot;
        ]
      }
    }
  ],
  &quot;hex&quot;: &quot;0100000001defd55b407c2473c0c99890ac6e4d16d1a9ea62910fa267e679d2d1058e7e4e5000000008b483045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe014104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0ffffffff049541d639000000001976a914dcfdb039e694e96dc9f49098abf5abe838ea4a2f88ac7d160000000000001976a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac7d160000000000001976a914966acb4de317bc06c44106c3301229aba2b4ed6988acfa2c00000000000067514104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa021021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b0252ae00000000&quot;,
  &quot;blockhash&quot;: &quot;000000000000000007bd140bd5f9ec7d6195330b125c84ad24adb7f021012502&quot;,
  &quot;confirmations&quot;: 410973,
  &quot;time&quot;: 1409535793,
  &quot;blocktime&quot;: 1409535793
}
</code></pre>
<p>bitcoin-core 22.x+</p>
<pre><code>{
  &quot;txid&quot;: &quot;9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3&quot;,
  &quot;hash&quot;: &quot;9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3&quot;,
  &quot;version&quot;: 1,
  &quot;size&quot;: 404,
  &quot;vsize&quot;: 404,
  &quot;weight&quot;: 1616,
  &quot;locktime&quot;: 0,
  &quot;vin&quot;: [
    {
      &quot;txid&quot;: &quot;e5e4e758102d9d677e26fa1029a69e1a6dd1e4c60a89990c3c47c207b455fdde&quot;,
      &quot;vout&quot;: 0,
      &quot;scriptSig&quot;: {
        &quot;asm&quot;: &quot;3045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe[ALL] 04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0&quot;,
        &quot;hex&quot;: &quot;483045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe014104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0&quot;
      },
      &quot;sequence&quot;: 4294967295
    }
  ],
  &quot;vout&quot;: [
    {
      &quot;value&quot;: 9.70342805,
      &quot;n&quot;: 0,
      &quot;scriptPubKey&quot;: {
        &quot;asm&quot;: &quot;OP_DUP OP_HASH160 dcfdb039e694e96dc9f49098abf5abe838ea4a2f OP_EQUALVERIFY OP_CHECKSIG&quot;,
        &quot;desc&quot;: &quot;addr(1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW)#e82gnjrl&quot;,
        &quot;hex&quot;: &quot;76a914dcfdb039e694e96dc9f49098abf5abe838ea4a2f88ac&quot;,
        &quot;address&quot;: &quot;1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW&quot;,
        &quot;type&quot;: &quot;pubkeyhash&quot;
      }
    },
    {
      &quot;value&quot;: 0.00005757,
      &quot;n&quot;: 1,
      &quot;scriptPubKey&quot;: {
        &quot;asm&quot;: &quot;OP_DUP OP_HASH160 946cb2e08075bcbaf157e47bcb67eb2b2339d242 OP_EQUALVERIFY OP_CHECKSIG&quot;,
        &quot;desc&quot;: &quot;addr(1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P)#03u9lduk&quot;,
        &quot;hex&quot;: &quot;76a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac&quot;,
        &quot;address&quot;: &quot;1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P&quot;,
        &quot;type&quot;: &quot;pubkeyhash&quot;
      }
    },
    {
      &quot;value&quot;: 0.00005757,
      &quot;n&quot;: 2,
      &quot;scriptPubKey&quot;: {
        &quot;asm&quot;: &quot;OP_DUP OP_HASH160 966acb4de317bc06c44106c3301229aba2b4ed69 OP_EQUALVERIFY OP_CHECKSIG&quot;,
        &quot;desc&quot;: &quot;addr(1EiLHxqVWZ8qPFcRJ4WpZk1HPbmy2PTMs8)#c68jlngz&quot;,
        &quot;hex&quot;: &quot;76a914966acb4de317bc06c44106c3301229aba2b4ed6988ac&quot;,
        &quot;address&quot;: &quot;1EiLHxqVWZ8qPFcRJ4WpZk1HPbmy2PTMs8&quot;,
        &quot;type&quot;: &quot;pubkeyhash&quot;
      }
    },
    {
      &quot;value&quot;: 0.00011514,
      &quot;n&quot;: 3,
      &quot;scriptPubKey&quot;: {
        &quot;asm&quot;: &quot;1 04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0 021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b02 2 OP_CHECKMULTISIG&quot;,
        &quot;desc&quot;: &quot;multi(1,04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0,021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b02)#vp945myn&quot;,
        &quot;hex&quot;: &quot;514104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa021021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b0252ae&quot;,
        &quot;type&quot;: &quot;multisig&quot;
      }
    }
  ],
  &quot;hex&quot;: &quot;0100000001defd55b407c2473c0c99890ac6e4d16d1a9ea62910fa267e679d2d1058e7e4e5000000008b483045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe014104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0ffffffff049541d639000000001976a914dcfdb039e694e96dc9f49098abf5abe838ea4a2f88ac7d160000000000001976a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac7d160000000000001976a914966acb4de317bc06c44106c3301229aba2b4ed6988acfa2c00000000000067514104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa021021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b0252ae00000000&quot;,
  &quot;blockhash&quot;: &quot;000000000000000007bd140bd5f9ec7d6195330b125c84ad24adb7f021012502&quot;,
  &quot;confirmations&quot;: 410994,
  &quot;time&quot;: 1409535793,
  &quot;blocktime&quot;: 1409535793
}
</code></pre>
<p>as we can see there is no &quot;addresses&quot;: [&quot;1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW&quot;, &quot;1vAryhyeqrBkYBLcqGEUwPrRC4U4MfbNc&quot;] in <strong>vout: 3</strong></p>
<p>Why script not decoding?</p>

<transactions><multi-signature><bitcoin-cli>
Bitcoin 22.x + doesn't decode addresses for multisig
user133390
# Bitcoin 22.x + doesn't decode addresses for multisig

(Asked by: username_0 on 2022-03-29)

anyone can suggest why addresses won't decode in newer versions?

example:
bitcoin-core 0.21

```
bitcoin-cli getrawtransaction 9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3 1
{
  "txid": "9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3",
  "hash": "9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3",
  "version": 1,
  "size": 404,
  "vsize": 404,
  "weight": 1616,
  "locktime": 0,
  "vin": [
    {
      "txid": "e5e4e758102d9d677e26fa1029a69e1a6dd1e4c60a89990c3c47c207b455fdde",
      "vout": 0,
      "scriptSig": {
        "asm": "3045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe[ALL] 04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0",
        "hex": "483045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe014104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0"
      },
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 9.70342805,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 dcfdb039e694e96dc9f49098abf5abe838ea4a2f OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914dcfdb039e694e96dc9f49098abf5abe838ea4a2f88ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW"
        ]
      }
    },
    {
      "value": 0.00005757,
      "n": 1,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 946cb2e08075bcbaf157e47bcb67eb2b2339d242 OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P"
        ]
      }
    },
    {
      "value": 0.00005757,
      "n": 2,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 966acb4de317bc06c44106c3301229aba2b4ed69 OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914966acb4de317bc06c44106c3301229aba2b4ed6988ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "1EiLHxqVWZ8qPFcRJ4WpZk1HPbmy2PTMs8"
        ]
      }
    },
    {
      "value": 0.00011514,
      "n": 3,
      "scriptPubKey": {
        "asm": "1 04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0 021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b02 2 OP_CHECKMULTISIG",
        "hex": "514104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa021021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b0252ae",
        "reqSigs": 1,
        "type": "multisig",
        "addresses": [
          "1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW",
          "1vAryhyeqrBkYBLcqGEUwPrRC4U4MfbNc"
        ]
      }
    }
  ],
  "hex": "0100000001defd55b407c2473c0c99890ac6e4d16d1a9ea62910fa267e679d2d1058e7e4e5000000008b483045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe014104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0ffffffff049541d639000000001976a914dcfdb039e694e96dc9f49098abf5abe838ea4a2f88ac7d160000000000001976a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac7d160000000000001976a914966acb4de317bc06c44106c3301229aba2b4ed6988acfa2c00000000000067514104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa021021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b0252ae00000000",
  "blockhash": "000000000000000007bd140bd5f9ec7d6195330b125c84ad24adb7f021012502",
  "confirmations": 410973,
  "time": 1409535793,
  "blocktime": 1409535793
}

```

bitcoin-core 22.x+

```
{
  "txid": "9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3",
  "hash": "9297132b89461da9dee0364db49eeb1c32770550bc5b82e02f1cbaab01043aa3",
  "version": 1,
  "size": 404,
  "vsize": 404,
  "weight": 1616,
  "locktime": 0,
  "vin": [
    {
      "txid": "e5e4e758102d9d677e26fa1029a69e1a6dd1e4c60a89990c3c47c207b455fdde",
      "vout": 0,
      "scriptSig": {
        "asm": "3045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe[ALL] 04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0",
        "hex": "483045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe014104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0"
      },
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 9.70342805,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 dcfdb039e694e96dc9f49098abf5abe838ea4a2f OP_EQUALVERIFY OP_CHECKSIG",
        "desc": "addr(1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW)#e82gnjrl",
        "hex": "76a914dcfdb039e694e96dc9f49098abf5abe838ea4a2f88ac",
        "address": "1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW",
        "type": "pubkeyhash"
      }
    },
    {
      "value": 0.00005757,
      "n": 1,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 946cb2e08075bcbaf157e47bcb67eb2b2339d242 OP_EQUALVERIFY OP_CHECKSIG",
        "desc": "addr(1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P)#03u9lduk",
        "hex": "76a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac",
        "address": "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P",
        "type": "pubkeyhash"
      }
    },
    {
      "value": 0.00005757,
      "n": 2,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 966acb4de317bc06c44106c3301229aba2b4ed69 OP_EQUALVERIFY OP_CHECKSIG",
        "desc": "addr(1EiLHxqVWZ8qPFcRJ4WpZk1HPbmy2PTMs8)#c68jlngz",
        "hex": "76a914966acb4de317bc06c44106c3301229aba2b4ed6988ac",
        "address": "1EiLHxqVWZ8qPFcRJ4WpZk1HPbmy2PTMs8",
        "type": "pubkeyhash"
      }
    },
    {
      "value": 0.00011514,
      "n": 3,
      "scriptPubKey": {
        "asm": "1 04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0 021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b02 2 OP_CHECKMULTISIG",
        "desc": "multi(1,04a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0,021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b02)#vp945myn",
        "hex": "514104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa021021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b0252ae",
        "type": "multisig"
      }
    }
  ],
  "hex": "0100000001defd55b407c2473c0c99890ac6e4d16d1a9ea62910fa267e679d2d1058e7e4e5000000008b483045022023ec9d65d61343eafba6498ed668d14a4f30507196eeda42789f9e1e5de471e80221008898d2243728f64e545b3fc13afaf9f3f54a7f1c8f9760708a4a8c7043901fbe014104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa0ffffffff049541d639000000001976a914dcfdb039e694e96dc9f49098abf5abe838ea4a2f88ac7d160000000000001976a914946cb2e08075bcbaf157e47bcb67eb2b2339d24288ac7d160000000000001976a914966acb4de317bc06c44106c3301229aba2b4ed6988acfa2c00000000000067514104a2d908b30291114a6cc781cb7caca48393bae2faef19189b3262ae9e957204272ff30528a289146141e350869d8b7386acfd6cf20e01e4ad38ab87bf542e2aa021021e7be74a6b018374c253d8a7c8530952fd8bed2169a56d6591c483c3b9916b0252ae00000000",
  "blockhash": "000000000000000007bd140bd5f9ec7d6195330b125c84ad24adb7f021012502",
  "confirmations": 410994,
  "time": 1409535793,
  "blocktime": 1409535793
}

```

as we can see there is no "addresses": ["1M9VZnGuuXBw4YUsgzMPwCNGgBBnsoEGLW", "1vAryhyeqrBkYBLcqGEUwPrRC4U4MfbNc"] in **vout: 3**

Why script not decoding?

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


---

## 1 answers

### Answer by username_1 on 2022-03-29. Score: 3 | Accepted answer

This is mentioned in the [22.0 release notes](https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-22.0.md#new-and-updated-rpcs):

> The following RPCs: `gettxout`, `getrawtransaction`, `decoderawtransaction`, `decodescript`, `gettransaction`, and REST endpoints: `/rest/tx`, `/rest/getutxos`, `/rest/block` deprecated the following fields (which are no longer returned in the responses by default): `addresses`, `reqSigs`. The `-deprecatedrpc=addresses` flag must be passed for these fields to be included in the RPC response. This flag/option will be available only for this major release, after which the deprecation will be removed entirely. Note that these fields are attributes of the `scriptPubKey` object returned in the RPC response. However, in the response of `decodescript` these fields are top-level attributes, and included again as attributes of the scriptPubKey object. (#20286)

The reason is simply that these fields were nonsensical and misleading. Outputs only have a single address at most. The RPC output dates from a time when addresses and key identifiers were conflated - a historical mistake.

The new `"address"` field reports the address, under the modern interpretation. It differs in the case of bare multisig outputs. These outputs are rare nowadays, and more importantly **do not have a corresponding address** at all. The values reported in the older `"addresses"` field were not addresses for this output; they are the would-be P2PKH address for sending to the individual public keys in that multisig output. But those have barely any relation to the actual output, and confused people into thinking that e.g. one could send to these individually (which is not generally the case).


---

