<p><a href="https://github.com/bitcoin/bitcoin/blob/master/src/bitcoinrpc.cpp#L482" rel="noreferrer">A little of both:</a></p>

<pre><code>//
// JSON-RPC protocol.  Bitcoin speaks version 1.0 for maximum compatibility,
// but uses JSON-RPC 1.1/2.0 standards for parts of the 1.0 standard that were
// unspecified (HTTP errors and contents of 'error').
//
// 1.0 spec: http://json-rpc.org/wiki/specification
// 1.2 spec: http://groups.google.com/group/json-rpc/web/json-rpc-over-http
// http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx
//
</code></pre>

CC BY-SA 3.0
2013-02-10T18:34:54.933Z
2013-02-10T18:34:54.933Z
Nick ODell
<p>I would like to get some clarification on which version  of the JSON-RPC protocol does Bitcoin use? 1.0 or 2.0?</p>

<protocol><bitcoind><bitcoin-core><json-rpc><specification>
Which version of the JSON-RPC protocol does Bitcoin use?
ThePiachu
# Which version of the JSON-RPC protocol does Bitcoin use?

(Asked by: username_0 on 2013-02-10)

I would like to get some clarification on which version of the JSON-RPC protocol does Bitcoin use? 1.0 or 2.0?

**Tags:** protocol, bitcoind, bitcoin-core, json-rpc, specification


---

## 1 answers

### Answer by username_1 on 2013-02-10. Score: 5 | Accepted answer

[A little of both:](https://github.com/bitcoin/bitcoin/blob/master/src/bitcoinrpc.cpp#L482)

```
//
// JSON-RPC protocol.  Bitcoin speaks version 1.0 for maximum compatibility,
// but uses JSON-RPC 1.1/2.0 standards for parts of the 1.0 standard that were
// unspecified (HTTP errors and contents of 'error').
//
// 1.0 spec: http://json-rpc.org/wiki/specification
// 1.2 spec: http://groups.google.com/group/json-rpc/web/json-rpc-over-http
// http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx
//

```


---

