Click or drag to resize

How to work with RPC

Working with API RPC-JSON

Working with our API RPC-JSON is easy. It is important to be authenticated with Basic Auth Header on every request only.

Basic Auth Header is based on your rpcuser:rpcpassword (from your BRhodium.conf file) and is encoded with base64.
You can read more on this page about authentication.

After having done this you can easily call all from the API RPC-JSON documentation.

Example of a call:

curl -X POST -H 'Authorization: Basic **Basic Auth Header**' -H 'Content-Type: application/json' -H 'cache-control: no-cache' -d '[{"method":"**nameofrpc**", "params":["**value**"]}]'