I understand that a transaction can have multiple outputs. But can two outputs in a transaction refer to the same target address?
Here's how this would like in pseudo style:
[vout] => Array
(
[0] => Array
(
[value] => 0.01
[scriptPubKey] => Array
(
[addresses] => Array
(
[0] => bitcoinaddress_xyz
)
)
)
[1] => Array
(
[value] => 0.02
[scriptPubKey] => Array
(
[addresses] => Array
(
[0] => bitcoinaddress_xyz
)
)
)
)
Here the same address "bitcoinaddress_xyz" appears in both outputs.
I know that it would not make much sense to construct a transaction like this – I just would like to know if it is technically possible.
Thanks.