<p>For transactions? <a href="https://en.bitcoin.it/wiki/Protocol_documentation#tx" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Protocol_documentation#tx</a></p>
<p>This is the internal format, for communication between Bitcoin nodes. As such this won't be as useful as the JSON format, since you will need to parse it on your own.</p>
<p>This is also equivalent to calling the RPC <code>decoderawtransaction</code> with tx received in the hex format.</p>

CC BY-SA 4.0
2020-11-16T06:46:18.263Z
Thanks, that's exactly what I was looking for. I need to parse blocks, I don't mind decoding the binary data.
martinus
CC BY-SA 4.0
2020-11-15T18:50:06.767Z
2020-11-15T18:50:06.767Z
MCCCS
<p>I'm currently using the JSON Rest API to get lots of transaction data from bitcoin. Unfortunately thats quite slow. I know there is also a binary format (see <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md" rel="nofollow noreferrer">Unauthenticated REST Interface</a>), but I couldn't find any description of the bin format. Is there any description of that format available?</p>

<bitcoind><json-rpc><api>
Specification of REST .bin format?
martinus
# Specification of REST .bin format?

(Asked by: username_0 on 2020-11-15)

I'm currently using the JSON Rest API to get lots of transaction data from bitcoin. Unfortunately thats quite slow. I know there is also a binary format (see [Unauthenticated REST Interface](https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md)), but I couldn't find any description of the bin format. Is there any description of that format available?

**Tags:** bitcoind, json-rpc, api


---

## 1 answers

### Answer by username_1 on 2020-11-15. Score: 1 | Accepted answer

For transactions? <https://en.bitcoin.it/wiki/Protocol_documentation#tx>

This is the internal format, for communication between Bitcoin nodes. As such this won't be as useful as the JSON format, since you will need to parse it on your own.

This is also equivalent to calling the RPC `decoderawtransaction` with tx received in the hex format.

> **Comments:**
> **username_0**: Thanks, that's exactly what I was looking for. I need to parse blocks, I don't mind decoding the binary data.  

---

