Broadcasting an OP_RETURN transaction

1

I am facing two problems below,

First is that I am trying to broadcast transaction which have OP_RETURN but blockchain.info continuously rejecting it, though I have broadcast it using bitcoind.

Second is that what is the best way to insert an OP_RETURN data into the raw transaction. Currently I am following this method ---> What is a step by step way to insert data in OP_RETURN?

but i know this is not a standard way.

I am using php and bitcoind server!

Any help would be appreciated :)

Thanks

Hassan Mehmood

Posted 2015-07-11T21:13:58.823

Reputation: 183

Blockchain.info doesn't know how to understand OP_RETURN outputs. Just because one website isn't showing it doesn't mean it hasn't made it around the network.Anonymous 2015-07-11T22:21:13.280

I'm the guy who wrote the answer that you're linking to. I'm having trouble understanding your second question. Are you asking if it's still a good method?Nick ODell 2015-07-12T00:07:15.207

@Bitcoin I think he means that blockchain.info/pushtx didn't work.Nick ODell 2015-07-12T00:09:12.060

@NickODell Same response really, blockchain.info doesn't understand OP_RETURN transactions and won't relay them through that interface as a result.Anonymous 2015-07-12T00:10:19.103

@Bitcoin Oh, that might be it also.Nick ODell 2015-07-12T00:37:06.783

@NickODell Yup I know you wrote the answer, And yes I was asking that if it's a good method or not?. And is there any alternative to that method ?Hassan Mehmood 2015-07-12T09:32:36.917

@NickODell ????Hassan Mehmood 2015-07-13T08:24:23.880

Answers

2

blockchain.info's pushtx feature will reject transactions with OP_RETURN in it.

You might want to try my tool https://github.com/kaykurokawa/pushtx

kaykurokawa

Posted 2015-07-11T21:13:58.823

Reputation: 1 902

0

Blockchain.info does not display transactions with OP_RETURNs until they are confirmed on the blockchain.

You can view all recent OP_RETURN transactions on Coin Secrets, and there's a link from there to a simple PHP library for working with OP_RETURNs.

Gideon Greenspan

Posted 2015-07-11T21:13:58.823

Reputation: 324