Package rpcclient implements a Bitcoin Core JSON-RPC client.
This client provides a robust and easy to use client for interfacing with a
Bitcoin RPC server that uses a Bitcoin Core compatible Bitcoin JSON-RPC API.
There are 3 categories of errors that will be returned throughout this package:
The first category of errors are typically ErrInvalidAuth or ErrClientShutdown.
The second category of errors typically indicates a programmer error and as such
the type can vary, but usually will be best handled by simply showing/logging
it.
The third category of errors, that is errors returned by the server, can be
detected by type asserting the error in a *btcjson.RPCError. For example, to
detect if a command is unimplemented by the remote RPC server:
Check the examples directory.