pub fn request(id: impl Into<Value>, method: &str, params: Value) -> Value
Build a JSON-RPC 2.0 request object.