A wrapper around the JSON-RPC provided by the bitcoin/litecoin