/// <param name="method">Target method name</param> /// <param name="parameterList">Json parameters for the target method</param> public RpcRequest(string method, RpcParameters parameters = default) { this.Id = null; this.JsonRpcVersion = JsonRpcContants.JsonRpcVersion; this.Method = method; this.Parameters = parameters; }
/// <param name="method">Target method name</param> /// <param name="parameterList">Json parameters for the target method</param> public RpcRequest(string method, RpcParameters parameters = default) { this.Id = null; this.Method = method; this.Parameters = parameters; }
/// <param name="id">Request id</param> /// <param name="method">Target method name</param> /// <param name="parameterList">Json parameters for the target method</param> public RpcRequest(RpcId id, string method, RpcParameters parameters = default) { this.Id = id; this.Method = method; this.Parameters = parameters; }