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 :)


  • 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.
    – Claris
    Commented Jul 11, 2015 at 22:21
  • 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
    Commented Jul 12, 2015 at 0:07
  • @Bitcoin I think he means that blockchain.info/pushtx didn't work.
    – Nick ODell
    Commented Jul 12, 2015 at 0:09
  • @NickODell Same response really, blockchain.info doesn't understand OP_RETURN transactions and won't relay them through that interface as a result.
    – Claris
    Commented Jul 12, 2015 at 0:10
  • @Bitcoin Oh, that might be it also.
    – Nick ODell
    Commented Jul 12, 2015 at 0:37

2 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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.