Bitcoin Node APIs

Figure 1: APIs exposed by a Bitcoin Node

Figure 1: APIs exposed by a Bitcoin Node

The Bitcoin Client Node exposes a JSON-RPC interface for amongst others, retrieving transaction data and submitting new transactions. Additionally a zeroMQ socket is exposed, allowing an application to subscribe to new transaction and block notifications. No event publishing is possible through the Bitcoin Node’s zeroMQ interface.

  • RPC Interface - Use JSON-RPC to interact with a node in a request/response model.
  • Notifications - Subscribe to a ZeroMQ socket for “push notifications” related to Transactions or Blocks.

We will have a more thorough treatment of how to interact with these APIs in the section on Running Your Own Node

On this page