HTTP API Version 2

API web-server listens on http://localhost:8283/. It can be configured in file rpc.conf.

Example of GET request: http://localhost:8283/api/v2/node


Path of all methods is prefixed with /api/v2

Encoding of values
amount Satoshi (100000000 equals to 1.00000000 BLN)
data JSON
hash HEX-string
boolean String “true” or “false”
string UTF-8 string

Errors are returned with HTTP status 400 Bad Request.

Node API

Wallet API


The web-server accepts WebSocket connections on path /websocket

Requests and responses are JSON objects.

{ command: "subscribe", route: "block" }

{ command: "subscribe", route: "txpool" }

{ command: "subscribe", route: "wallet", address: "$address" }