user140167: In the transaction data of bitcoin can we have more than one address element in adresses attribute of inputs and outputs of a transaction.

user13866: Despite what blockchain explorers might show you, The network format for Bitcoin transactions contains no addresses.
Transactions can have multiple inputs and multiple outputs. Each output has a locking script. An address is a convenient abstraction of a script. Thus a transaction can have at least two and sometimes thousands of associated addresses.
Each input and each output for common types of transaction are only associated with one address.
A multi-signature transaction can be more complex. This might be what you are thinking of.

Related

In what format does a block store the transaction data?


140167: <p>In the transaction data of bitcoin can we have more than one address element in adresses attribute of inputs and outputs of a transaction.</p>
 13866: <p>Despite what blockchain explorers might show you, The network format for Bitcoin transactions contains no addresses.</p>
<p>Transactions can have multiple inputs and multiple outputs. Each output has a locking script. An address is a convenient abstraction of a script. Thus a transaction can have at least two and sometimes thousands of associated addresses.</p>
<p>Each input and each output for common types of transaction are only associated with one address.</p>
<p>A multi-signature transaction can be more complex. This might be what you are thinking of.</p>
<hr />
<p>Related</p>
<ul>
<li><a href="https://bitcoin.stackexchange.com/q/113631/13866">In what format does a block store the transaction data?</a></li>
</ul>
