<p>No, you cannot use telnet. You will need to use a software that can speak the Bitcoin Peer-to-Peer protocol. There is no easy command line way to do this with the typical utilities, you need to have your own software. Note that you cannot just send the message to the node, you will need to perform the connection handshake as well.</p>

<p>You can use the <a href="https://github.com/petertodd/python-bitcoinlib" rel="nofollow noreferrer">Python Bitcoin library</a> to write a python script that does what you need.</p>

<p>For sending a raw transaction over the P2P network, you can use the <a href="https://github.com/laanwj/bitcoin-submittx" rel="nofollow noreferrer">submittx tool</a>.</p>

CC BY-SA 3.0
2018-04-22T16:39:36.360Z
2018-04-22T16:39:36.360Z
Ava Chow
<p>I've been working on this lately: You can use <a href="https://github.com/dev7ba/mempoolcp" rel="nofollow noreferrer">https://github.com/dev7ba/mempoolcp</a> if you have two nodes and wants to transfer all transactions from one to the other.</p>
<p>If you want to download a mempool from other people you can use <a href="https://github.com/dev7ba/mempool-client" rel="nofollow noreferrer">https://github.com/dev7ba/mempool-client</a> which downloads the mempool used in <a href="https://mempoolexplorer.com" rel="nofollow noreferrer">https://mempoolexplorer.com</a> (managed and hosted by me).
Also you can setup your own server to download your mempool:
<a href="https://github.com/dev7ba/mempool-server" rel="nofollow noreferrer">https://github.com/dev7ba/mempool-server</a></p>

CC BY-SA 4.0
2023-06-30T14:57:24.867Z
2023-06-30T14:57:24.867Z
dev7ba
<p>May I connect to any bitcoin core node, for example, this node <code>119.23.63.114:8333</code> using telnet and get its mempool transactions or even broadcast some transaction? </p>

<p>I've read that section <a href="https://bitcoin.org/en/developer-reference#mempool" rel="nofollow noreferrer">https://bitcoin.org/en/developer-reference#mempool</a> but can somebody give an example? </p>

<bitcoin-core><nodes><mempool>
get mempool transactions of some bitcoin node?
Tailer
# get mempool transactions of some bitcoin node?

(Asked by: username_0 on 2018-04-22)

May I connect to any bitcoin core node, for example, this node `119.23.63.114:8333` using telnet and get its mempool transactions or even broadcast some transaction?

I've read that section <https://bitcoin.org/en/developer-reference#mempool> but can somebody give an example?

**Tags:** bitcoin-core, nodes, mempool


---

## 2 answers

### Answer by username_1 on 2018-04-22. Score: 3 | Accepted answer

No, you cannot use telnet. You will need to use a software that can speak the Bitcoin Peer-to-Peer protocol. There is no easy command line way to do this with the typical utilities, you need to have your own software. Note that you cannot just send the message to the node, you will need to perform the connection handshake as well.

You can use the [Python Bitcoin library](https://github.com/petertodd/python-bitcoinlib) to write a python script that does what you need.

For sending a raw transaction over the P2P network, you can use the [submittx tool](https://github.com/laanwj/bitcoin-submittx).


---

### Answer by username_2 on 2023-06-30. Score: 0

I've been working on this lately: You can use <https://github.com/username_2/mempoolcp> if you have two nodes and wants to transfer all transactions from one to the other.

If you want to download a mempool from other people you can use <https://github.com/username_2/mempool-client> which downloads the mempool used in <https://mempoolexplorer.com> (managed and hosted by me).
Also you can setup your own server to download your mempool:
<https://github.com/username_2/mempool-server>


---

