<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>

CC BY-SA 4.0
2023-02-13T10:05:07.017Z
2023-02-13T12:32:46.987Z
2023-02-13T12:32:46.987Z
RedGrittyBrick
<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>

CC BY-SA 4.0
2023-02-18T11:17:48.430Z
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
Community
<transactions><raw-transaction><raw-data>
Can we have more than one address in transaction inputs and outputs addresses attribute?
Sherjil Malik
# Can we have more than one address in transaction inputs and outputs addresses attribute?

(Asked by: username_0 on 2023-02-13)

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

**Tags:** transactions, raw-transaction, raw-data

> **Comments:**
> **username_1**: Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.  

---

## 1 answers

### Answer by username_2 on 2023-02-13. Score: 1

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?](https://bitcoin.stackexchange.com/q/113631/13866)


---

