Bitcoin

json rpc – Has the scriptPubKey address field in Bitcoin RPC changed?

So I wasn’t really interested in Bitcoin for a long time. My seniors studied Bitcoin RPC method in my project in 2018-2019. The reaction at the time was getblock After fetching the transaction was fetched from the response. tx_hashwe used to bring voutThen scriptPubKey, and from that the previous team took the address. I think there were a lot of addresses back then. But now, in 2024, after working on it, I realized that there is no such thing. addresses field scriptPubKeyBut instead addressjust one.

So I want to check if there have been any changes and if there is any documentation related to this change log. Because I tried to look for it myself, but couldn’t find anything.

Related Articles

Back to top button