<p>After some investigation, I found out that RAW topics actually include entire body of transaction/block descriptor.</p>

<p>See, <a href="https://en.bitcoin.it/wiki/Raw_Transactions" rel="nofollow noreferrer">Raw Transactions</a>.</p>

<p>Actually, you could explore the transaction descriptor content in JSON format by first converting binary data to HEX-string and then by <a href="https://blockchain.info/decode-tx" rel="nofollow noreferrer">pasting it to the <strong>blockchain.info</strong> tool</a> or by using RPC call of bitcoind: <strong>decoderawtransaction</strong>.</p>

CC BY-SA 3.0
2016-12-22T17:18:57.450Z
2016-12-22T17:18:57.450Z
Robert Wood
<p>I'm trying to use <a href="https://github.com/bitcoin/bitcoin/blob/v0.13.1/doc/zmq.md" rel="nofollow noreferrer">ZeroMQ integration feature</a> from bitcoind.</p>

<p>According to docs it supports four topic:</p>

<ul>
<li>hashtx</li>
<li>hashblock</li>
<li>rawblock</li>
<li>rawtx</li>
</ul>

<p>Sadly, they are not very well documented.</p>

<p>So, what is the difference between raw/hash topics?</p>

<bitcoind><zeromq>
What's the difference between hashtx and rawtx in ZeroMQ of bitcoind?
Robert Wood
# What's the difference between hashtx and rawtx in ZeroMQ of bitcoind?

(Asked by: username_0 on 2016-12-22)

I'm trying to use [ZeroMQ integration feature](https://github.com/bitcoin/bitcoin/blob/v0.13.1/doc/zmq.md) from bitcoind.

According to docs it supports four topic:

* hashtx
* hashblock
* rawblock
* rawtx

Sadly, they are not very well documented.

So, what is the difference between raw/hash topics?

**Tags:** bitcoind, zeromq


---

## 1 answers

### Answer by username_0 on 2016-12-22. Score: 2

After some investigation, I found out that RAW topics actually include entire body of transaction/block descriptor.

See, [Raw Transactions](https://en.bitcoin.it/wiki/Raw_Transactions).

Actually, you could explore the transaction descriptor content in JSON format by first converting binary data to HEX-string and then by [pasting it to the **blockchain.info** tool](https://blockchain.info/decode-tx) or by using RPC call of bitcoind: **decoderawtransaction**.


---

