<p>The RPC interface of most nodes is password protected, so you can't send RPC commands to an arbitrary peer on the network. If you run your own node though, you can set it up with a password and the the RPC protocol to issue commands.</p>

CC BY-SA 3.0
2018-01-26T20:23:21.610Z
2018-01-26T20:23:21.610Z
morsecoder
<p>Is it possible to send some commands to Bitcoin Peers? for example <code>decoderawtransaction</code> command? </p>

CC BY-SA 3.0
2018-01-26T20:24:11.587Z
There are plenty of libraries that will decode a raw transaction as well, you don't have to go to a full node to do that.
morsecoder
CC BY-SA 3.0
2018-01-27T00:11:27.617Z
it is not the main reason, it is just an example.
Tailer
<bitcoin-core><json-rpc><peers>
Sending RPC-JSON Commands to Bitcoin Peers
Tailer
# Sending RPC-JSON Commands to Bitcoin Peers

(Asked by: username_0 on 2018-01-26)

Is it possible to send some commands to Bitcoin Peers? for example `decoderawtransaction` command?

**Tags:** bitcoin-core, json-rpc, peers

> **Comments:**
> **username_1**: There are plenty of libraries that will decode a raw transaction as well, you don't have to go to a full node to do that.  
> **username_0**: it is not the main reason, it is just an example.  

---

## 1 answers

### Answer by username_1 on 2018-01-26. Score: 0 | Accepted answer

The RPC interface of most nodes is password protected, so you can't send RPC commands to an arbitrary peer on the network. If you run your own node though, you can set it up with a password and the the RPC protocol to issue commands.


---

