<p>The RPC call <code>sendrawtransaction</code> tries to broadcast the raw transaction you give it by first adding it to its own mempool of transactions. If you don't have the UTXO database, then you won't be able to validate the inputs of the transaction, so your node will reject it from its mempool. So, essentially, no, there isn't a way with the default client.</p>

<p>You could modify your client to have a new RPC call that just sends the raw transactions without checking it. But then you run the risk of broadcasting an invalid transaction and having your peers increase your ban score.</p>

<p>Also see: <a href="https://bitcoin.stackexchange.com/questions/38060/pushing-tx-to-the-network-via-ajax-without-installing-bitcoin">Pushing tx to the network via AJAX, without installing bitcoin</a>. That question lists a few APIs that have support for broadcasting a raw transaction, which may be helpful to you.</p>

CC BY-SA 3.0
2015-06-23T15:18:02.633Z
Ha, thats my question  you linked to =). Unfortunately all those services require an API key and blockchain.info doesn't support OP_RETURN yet.
Akhil F
CC BY-SA 3.0
2015-06-23T15:20:01.520Z
@AakilFernandes, I know, putting it for completeness ;) It's not usually too hard to get an API key.
morsecoder
CC BY-SA 3.0
2015-06-24T10:27:36.593Z
Have a look to http://webbtc.com/api/relay It supports OP_RETURN afaik. And I have to say that it is VERY easy to write a program for pushing transaction to bitcoin network without any client installed
amaclin
CC BY-SA 3.0
2015-06-23T15:12:36.820Z
2015-06-23T15:12:36.820Z
2017-04-13T12:47:33.583Z
morsecoder
<p>Is it possible to use <code>sendrawtransaction</code> without downloading the blockchain? Or will bitcoind reject the broadcast since it can't validate the inputs?</p>

<p>If the client does block it by default, is there any way to force it to send it?</p>

<bitcoind><client><raw-transaction><sending>
sendrawtransaction without downloading blockchain
Akhil F
# sendrawtransaction without downloading blockchain

(Asked by: username_0 on 2015-06-23)

Is it possible to use `sendrawtransaction` without downloading the blockchain? Or will bitcoind reject the broadcast since it can't validate the inputs?

If the client does block it by default, is there any way to force it to send it?

**Tags:** bitcoind, client, raw-transaction, sending


---

## 1 answers

### Answer by username_1 on 2015-06-23. Score: 1 | Accepted answer

The RPC call `sendrawtransaction` tries to broadcast the raw transaction you give it by first adding it to its own mempool of transactions. If you don't have the UTXO database, then you won't be able to validate the inputs of the transaction, so your node will reject it from its mempool. So, essentially, no, there isn't a way with the default client.

You could modify your client to have a new RPC call that just sends the raw transactions without checking it. But then you run the risk of broadcasting an invalid transaction and having your peers increase your ban score.

Also see: [Pushing tx to the network via AJAX, without installing bitcoin](https://bitcoin.stackexchange.com/questions/38060/pushing-tx-to-the-network-via-ajax-without-installing-bitcoin). That question lists a few APIs that have support for broadcasting a raw transaction, which may be helpful to you.

> **Comments:**
> **username_0**: Ha, thats my question  you linked to =). Unfortunately all those services require an API key and blockchain.info doesn't support OP_RETURN yet.  
> **username_1**: @AakilFernandes, I know, putting it for completeness ;) It's not usually too hard to get an API key.  
> **username_2**: Have a look to http://webbtc.com/api/relay It supports OP_RETURN afaik. And I have to say that it is VERY easy to write a program for pushing transaction to bitcoin network without any client installed  

---

