Questions tagged [op-return]

An opcode that allows you to create an unspendable transaction output that stores up to 80 bytes of data.

Filter by
Sorted by
Tagged with
2
votes
1answer
316 views

Do transactions with null data take longer to confirm?

I was under the impression that null-data transactions were standard, but whenever I try to broadcast one it takes a while for it to appear in a block. I tested this by broadcasting 2 transactions ...
3
votes
1answer
693 views

Can I have multiple OP_RETURN outputs in one transaction?

I am wondering if I can inject multiple OP_RETURN outputs in one transaction?
1
vote
2answers
2k views

Alternatives to OP_RETURN to store data in Bitcoin blockchain

I am working on iOS camera app and would like to store hash of photos inside blockchain for the "proof of existence". AFAIK transaction with OP_RETURN in output has some disadvantages non-refundable....
2
votes
2answers
1k views

OP_RETURN using python

I'm trying to make a simple program that can reliably upload an OP_RETURN transaction. I have found some examples online, but so far they don't work consistently. The ones that go through seem to be ...
2
votes
1answer
321 views

Why am I unable to post two transactions (the second from the change address of the first) in the same block?

I'm attempting to make a transaction on the testnet with an OP_RETURN and a change address in it, and then make a second OP_RETURN transaction from first transaction's change address in the same ...
2
votes
2answers
2k views

How can I search for OP_RETURN data?

Is there any way to check for this data in blockchain? I want to search this value: 554e6963444320 and want to return this transaction https://blockchain.info/tx/...
5
votes
3answers
3k views

How do I compose a transaction with OP_RETURN in Python?

Currently trying to figure out how to use Python to construct a transaction with OP_RETURN. I tried to encode the message myself, and had no luck. I found a function, OPReturn(), on the internet, but ...
8
votes
2answers
2k views

Is there a maximum size of a scriptSig/scriptPubKey?

Previous research: Transaction's maximum size What is the maximum size of a transaction? The maximum size of a standard transaction is 100k bytes. Are there any consensus rules that prohibit ...
2
votes
3answers
444 views

Wallets that support 40 byte message attachment via OP_RETURN? Desktop / Mobile?

I see that many new Bitcoin 2.0 apps are making use of the additional OP_RETURN parameter for attaching data. I see that max limit is 40 bytes or roughly 40 characters? My question now regarding ...
4
votes
2answers
2k views

Insert data to transaction with OP_RETURN

This might be a possible duplicate with this. I want to know a proper way to insert additional string with OP_RETURN and retrieve the transaction from block chain and decode it accordingly. Thank ...
13
votes
1answer
9k views

How to add additional information to transaction?

I want to add some additional information to my specific transaction, so that I can send the additional information to blockchain.
2
votes
2answers
3k views

Create OP_RETURN tx with Bitcoinjs-lib

I know how to create a basic TX: var bitcoin = require('bitcoinjs-lib') var tx = new bitcoin.Transaction() // Add the input (who is paying) of the form [previous transaction hash, index of the ...
46
votes
2answers
23k views

Explanation of what an OP_RETURN transaction looks like

How is OP_RETURN used and why was it introduced in the first place?
7
votes
3answers
5k views

What is a step by step way to insert data in OP_RETURN?

I was following https://bitcointalk.org/index.php?topic=453086.0 for creating a message in OP_RETURN. I am able to decode my raw transaction, but on signrawtransaction it gives error: {"code":-22,"...
11
votes
1answer
750 views

Is there a limit to how much extra data can be put into blocks via scripts?

According to this answer, miners can include extra data in blocks. Is there an upper bound to how much a miner can add? How much?
9
votes
2answers
1k views

Does encoding Namecoin/messages into the blockchain bloat it?

I read today twice concerns about inflating the blockchain: NameCoin Bitcoin Message Service So, does using these services "over inflate" the blockchain? The way I see it, if another protocl rides ...