<p>You will not be able to send a transaction with an OP_RETURN larger than 80 bytes unless you mine a block that includes the transaction. An OP_RETURN larger than 80 bytes is considered non-standard, but still valid, meaning nodes will not relay your transaction (on default settings) but will accept the transaction if it is included in a block.</p>

<p>An alternative would be to create multiple OP_RETURN outputs, each of 80 bytes, totaling to your 100KBs. This would require 1,280 OP_RETURN outputs which, again, would be non-standard as it is larger than the maximum relay transaction size for nodes (100KB). You would again need to contact a miner/mine it yourself in a block, or split the OP_RETURN values in half and include 640 OP_RETURNs in one transaction and 640 OP_RETURNs in another transaction.</p>

CC BY-SA 4.0
2019-12-31T23:26:16.727Z
2019-12-31T23:26:16.727Z
Septem151
<p>I'm trying to send an OP_RETURN transaction, and the program says that I can't do it because it is over 80 bytes. I would like to send a transaction using OP_RETURN that stores data. There is a site called <a href="https://bico.media/" rel="nofollow noreferrer">https://bico.media/</a>, but I can't use it because I want to use the testnet.</p>

<p>Note: I know that this is bordering on off-topic, but it makes sense and is related to bitcoin. I want to ask <em>how</em> to send an OP_RETURN that large easily, and I think it would be applicable to bitcoin SV too.</p>

CC BY-SA 4.0
2019-12-26T13:03:50.950Z
If your question is how to easily send a transaction with a 100 kB OP_RETURN, the answer is that you don't. You'd need to contact a miner or mine it yourself to get such a non-standard transaction accepted.
Pieter Wuille
CC BY-SA 4.0
2019-12-27T21:47:22.340Z
The provided link talks about bsv (offtopic scam), which explains a lot because no sane person would think of doing that on the Bitcoin.
Jannes
<op-return><bitcoin-sv>
How to send a 100KB OP_RETURN?
Flash Uploader
# How to send a 100KB OP_RETURN?

(Asked by: username_0 on 2019-12-26)

I'm trying to send an OP\_RETURN transaction, and the program says that I can't do it because it is over 80 bytes. I would like to send a transaction using OP\_RETURN that stores data. There is a site called <https://bico.media/>, but I can't use it because I want to use the testnet.

Note: I know that this is bordering on off-topic, but it makes sense and is related to bitcoin. I want to ask *how* to send an OP\_RETURN that large easily, and I think it would be applicable to bitcoin SV too.

**Tags:** op-return, bitcoin-sv

> **Comments:**
> **username_1**: If your question is how to easily send a transaction with a 100 kB OP_RETURN, the answer is that you don't. You'd need to contact a miner or mine it yourself to get such a non-standard transaction accepted.  
> **username_2**: The provided link talks about bsv (offtopic scam), which explains a lot because no sane person would think of doing that on the Bitcoin.  

---

## 1 answers

### Answer by username_3 on 2019-12-31. Score: 1

You will not be able to send a transaction with an OP\_RETURN larger than 80 bytes unless you mine a block that includes the transaction. An OP\_RETURN larger than 80 bytes is considered non-standard, but still valid, meaning nodes will not relay your transaction (on default settings) but will accept the transaction if it is included in a block.

An alternative would be to create multiple OP\_RETURN outputs, each of 80 bytes, totaling to your 100KBs. This would require 1,280 OP\_RETURN outputs which, again, would be non-standard as it is larger than the maximum relay transaction size for nodes (100KB). You would again need to contact a miner/mine it yourself in a block, or split the OP\_RETURN values in half and include 640 OP\_RETURNs in one transaction and 640 OP\_RETURNs in another transaction.


---

