<p>Blockchain.info and bitoind/qt out of the box doesn't support pushing transaction out with the OP_RETURN op code. They will mark the transaction as invalid and refuse to broadcast it.</p>

<p>I have an open source project with a program that will push out transactions to the network directly at <a href="https://github.com/kaykurokawa/pushtx" rel="nofollow">https://github.com/kaykurokawa/pushtx</a>.  It doesn't do any error checking on the transaction so transactions with OP_RETURN will get relayed.</p>

<p>I've successfully used this in combination with <a href="https://github.com/vbuterin/pybitcointools" rel="nofollow">pybitcointools</a> for crafting a transaction with OP_RETURN in it.</p>

CC BY-SA 3.0
2014-11-18T23:16:27.293Z
2015-07-12T01:29:41.717Z
2015-07-12T01:29:41.717Z
k kurokawa
<p>I am writing a project in Ruby using JSON-RPC to communicate with blockchain.info. The API is available here: <a href="https://blockchain.info/api/json_rpc_api" rel="nofollow">https://blockchain.info/api/json_rpc_api</a></p>

<p>Is it possible to create a <strong>op_return</strong> txout using the given JSON-RPC API ?</p>

CC BY-SA 3.0
2014-11-18T22:10:17.850Z
Since they don't support signtransaction or createrawtransaction, I don't think so.
Nick ODell
CC BY-SA 3.0
2014-11-18T22:17:47.327Z
Well, in that case I will need to run my own node to broadcast a message with OP_RETURN, the only way will to be run my own node?
fyquah95
<json-rpc><blockchain.info><ruby>
OP_Return in transactions at json_rpc_api at blockchain.info
fyquah95
# OP_Return in transactions at json_rpc_api at blockchain.info

(Asked by: username_0 on 2014-11-18)

I am writing a project in Ruby using JSON-RPC to communicate with blockchain.info. The API is available here: <https://blockchain.info/api/json_rpc_api>

Is it possible to create a **op\_return** txout using the given JSON-RPC API ?

**Tags:** json-rpc, blockchain.info, ruby

> **Comments:**
> **username_1**: Since they don't support signtransaction or createrawtransaction, I don't think so.  
> **username_0**: Well, in that case I will need to run my own node to broadcast a message with OP_RETURN, the only way will to be run my own node?  

---

## 1 answers

### Answer by username_2 on 2014-11-18. Score: 1

Blockchain.info and bitoind/qt out of the box doesn't support pushing transaction out with the OP\_RETURN op code. They will mark the transaction as invalid and refuse to broadcast it.

I have an open source project with a program that will push out transactions to the network directly at <https://github.com/kaykurokawa/pushtx>. It doesn't do any error checking on the transaction so transactions with OP\_RETURN will get relayed.

I've successfully used this in combination with [pybitcointools](https://github.com/vbuterin/pybitcointools) for crafting a transaction with OP\_RETURN in it.


---

