<p>Yes, multiple transactions building on each others' outputs can be in the same block. However, they have to be in the correct order inside of the block.  </p>

<p>The order of transactions in a block can be freely chosen except for two rules: the coinbase transaction must be the first transaction, and parents must be before children. 
Note that the order of transactions in blocks is explicitly specified by the positions of the leaves of the Merkle tree.</p>

CC BY-SA 3.0
2017-09-06T06:23:17.747Z
Thanks for your reply. What is 'order'? The order in the merkle tree?
forfun
CC BY-SA 3.0
2017-09-06T06:29:09.887Z
The transactions are in a specific order (which corresponds to the positions of the leaves of the Merkle tree). Mostly the order is up to the miner, but Coinbase transaction must be first tx, and parents must be before children.
Murch
CC BY-SA 3.0
2017-09-06T06:18:09.960Z
2017-09-06T22:28:29.083Z
2017-09-06T22:28:29.083Z
Murch
<p>Is it possible to process (stored in the same block) two successive transactions simultaneously?</p>

<p>'Two successive transactions' means that the second transaction's input is the first transaction's output.</p>

<p>Thanks!</p>

<transactions>
Processing two successive transactions?
forfun
# Processing two successive transactions?

(Asked by: username_0 on 2017-09-06)

Is it possible to process (stored in the same block) two successive transactions simultaneously?

'Two successive transactions' means that the second transaction's input is the first transaction's output.

Thanks!

**Tags:** transactions


---

## 1 answers

### Answer by username_1 on 2017-09-06. Score: 1 | Accepted answer

Yes, multiple transactions building on each others' outputs can be in the same block. However, they have to be in the correct order inside of the block.

The order of transactions in a block can be freely chosen except for two rules: the coinbase transaction must be the first transaction, and parents must be before children.
Note that the order of transactions in blocks is explicitly specified by the positions of the leaves of the Merkle tree.

> **Comments:**
> **username_0**: Thanks for your reply. What is 'order'? The order in the merkle tree?  
> **username_1**: The transactions are in a specific order (which corresponds to the positions of the leaves of the Merkle tree). Mostly the order is up to the miner, but Coinbase transaction must be first tx, and parents must be before children.  

---

