<p>Once you know the <code>bitcoind</code> version this code was written for and the <code>bitcoind</code> version you are using now, you can go through the release notes available <a href="https://bitcoincore.org/en/releases/" rel="nofollow noreferrer">here</a> to learn about any breaking change.</p>

CC BY-SA 4.0
2024-05-22T11:43:13.863Z
2024-05-22T11:43:13.863Z
Antoine Poinsot
<p>So I have not been very into Bitcoin for a long time. My seniors worked on Bitcoin RPC methods in my project back in 2018-2019. At that time, the response of <code>getblock</code> was fetched, then we fetched the transaction from the response, and from the <code>tx_hash</code>, we used to fetch <code>vout</code>, then <code>scriptPubKey</code>, and from that, the old team fetched addresses. There used to be many addresses back then maybe. But now, in 2024, when I worked on it, I found that there is no <code>addresses</code> field in <code>scriptPubKey</code>, but instead, it's <code>address</code>, only one.</p>
<p>So I just want to confirm if there have been any changes, and is there are any docs related to this changelog, as I tried to find it myself but didn't find any.</p>

<json-rpc><getblock>
Has There Been a Change in Bitcoin RPC's scriptPubKey Address Field
Sudhanshu Sinha
# Has There Been a Change in Bitcoin RPC's scriptPubKey Address Field

(Asked by: username_0 on 2024-05-22)

So I have not been very into Bitcoin for a long time. My seniors worked on Bitcoin RPC methods in my project back in 2018-2019. At that time, the response of `getblock` was fetched, then we fetched the transaction from the response, and from the `tx_hash`, we used to fetch `vout`, then `scriptPubKey`, and from that, the old team fetched addresses. There used to be many addresses back then maybe. But now, in 2024, when I worked on it, I found that there is no `addresses` field in `scriptPubKey`, but instead, it's `address`, only one.

So I just want to confirm if there have been any changes, and is there are any docs related to this changelog, as I tried to find it myself but didn't find any.

**Tags:** json-rpc, getblock


---

## 1 answers

### Answer by username_1 on 2024-05-22. Score: 0

Once you know the `bitcoind` version this code was written for and the `bitcoind` version you are using now, you can go through the release notes available [here](https://bitcoincore.org/en/releases/) to learn about any breaking change.


---

