I am reviewing Bitcoin transaction data as are returned by 'getrawtransaction' bitcoind command. I wonder why field: vout->addresses is a table and why it allows more than one address to be associated with the corresponding vout of the transaction? Are there any transactions in the blockchain with this field filled with more than one address? What is the use-case for that scenario?

1 Answer
1

In case a the scriptPubKey of a transaction is a standard M-of-N script, the N different addresses corresponding to the public keys are listed here.

There are likely very few or even no transactions that use this in the mainnet chain, as the few multisig transactions that occur are almost entirely using pay-to-scripthash, where the output doesn't contain the real script (only its hash), so it cannot be fully decoded.