lib/cita/http.rb
def rpc_params(method, jsonrpc: DEFAULT_JSONRPC, params: DEFAULT_PARAMS, id: DEFAULT_ID)
      {
        jsonrpc: jsonrpc,
        id: id,
        method: method,
        params: params
      }.to_json
    end
def rpc_params(method, jsonrpc: DEFAULT_JSONRPC, params: DEFAULT_PARAMS, id: DEFAULT_ID)
      {
        jsonrpc: jsonrpc,
        id: id,
        method: method,
        params: params
      }.to_json
    end
wrapper for rpc params

 @param method [String] method you want to call
 @param jsonrpc [String] jsonrpc version
 @param params [Array] rpc params
 @param id [Integer] jsonrpc id

 @return [String] json string