<p>By data-insertion transactions you mean OP_RETURN outputs?</p>
<p>Typically those outputs have amount 0, so there is nothing to spend. But if the amount is not 0, those coins are burnt, and nothing - even miners - can change that.</p>
<p>However, such transactions can (and almost certainly, will) carry a transaction fee like every other type of transaction. That fee goes to the miner who includes the transaction in a block, and is the incentive to do so. This is the same for every type of transaction.</p>

CC BY-SA 4.0
2021-07-31T04:03:05.563Z
Thank you. Yes. I mean OP-Return outputs.
Motiv
CC BY-SA 4.0
2021-07-31T04:04:34.393Z
I have a follow-up question. Do you see any incentive for the Miners to pick data-insertion transactions to include in the block? I mean, if these transactions need less computational power for Miners? Thank you
Motiv
CC BY-SA 4.0
2021-07-31T04:07:34.967Z
Miners include transactions because transactions pay fees, period. There is no difference between "data insertion" transactions or others in this regard. The computation cost of including a transaction is absolutely negligible compared to pretty much everything else miners do. Further, even if you'd have a transaction with _only_ OP_RETURN outputs, they still have inputs, with signatures that need validation.
Pieter Wuille
CC BY-SA 4.0
2021-07-31T04:08:58.063Z
Thank you so much. I got the point clearly.
Motiv
CC BY-SA 4.0
2021-07-31T03:59:32.470Z
2021-07-31T03:59:32.470Z
Pieter Wuille
<p>I am wondering if a Miner can spend the amount mentioned in a data-insertion transaction for herself?
And what is the incentive for Miners to confirm data-insertion transactions?</p>
<p>Thank you</p>

<mining-pools><mining-profitability>
Can Miners spend the data-insertion amount?
Motiv
# Can Miners spend the data-insertion amount?

(Asked by: username_0 on 2021-07-31)

I am wondering if a Miner can spend the amount mentioned in a data-insertion transaction for herself?
And what is the incentive for Miners to confirm data-insertion transactions?

Thank you

**Tags:** mining-pools, mining-profitability


---

## 1 answers

### Answer by username_1 on 2021-07-31. Score: 1 | Accepted answer

By data-insertion transactions you mean OP\_RETURN outputs?

Typically those outputs have amount 0, so there is nothing to spend. But if the amount is not 0, those coins are burnt, and nothing - even miners - can change that.

However, such transactions can (and almost certainly, will) carry a transaction fee like every other type of transaction. That fee goes to the miner who includes the transaction in a block, and is the incentive to do so. This is the same for every type of transaction.

> **Comments:**
> **username_0**: Thank you. Yes. I mean OP-Return outputs.  
> **username_0**: I have a follow-up question. Do you see any incentive for the Miners to pick data-insertion transactions to include in the block? I mean, if these transactions need less computational power for Miners? Thank you  
> **username_1**: Miners include transactions because transactions pay fees, period. There is no difference between "data insertion" transactions or others in this regard. The computation cost of including a transaction is absolutely negligible compared to pretty much everything else miners do. Further, even if you'd have a transaction with _only_ OP_RETURN outputs, they still have inputs, with signatures that need validation.  
> **username_0**: Thank you so much. I got the point clearly.  

---

