#bitcoin #rpc-client #api-bindings #rpc #client #rpc-api


Rust client library for talking to Bitcoin Core nodes using JsonRPC

8 releases (5 breaking)

Uses old Rust 2015

0.6.1 Jun 9, 2019
0.6.0 Apr 29, 2019
0.5.0 Jan 15, 2019
0.4.0 Oct 24, 2018
0.1.1 Aug 29, 2018

#26 in #rpc-api

23 downloads per month


1.5K SLoC

Bitcoin RPC Client

Build Status Crates.io

Deprecated. This library is unmaintained in favor of https://github.com/rust-bitcoin/rust-bitcoincore-rpc

This crate provides a Rust interface to the Bitcoin JSON-RPC API.

It is currently work-in-progress as not all RPC calls are implemented.


  • Does not use macros
  • Automatic retry mechanism if bitcoin-core is not yet ready
  • Provides trait of all RPC methods for easy mocking (BitcoinRpcApi)


Check examples/ but basically, given a URL and the username/password for the node, you can construct a client and call the desired RPC method.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~480K SLoC