change visibility of the function request in Provider<JsonRpcClient> to public so one can implement Middleware's with custom call to the node
@@ -184,7 +184,7 @@ impl<P: JsonRpcClient> Provider<P> {
self
}
- async fn request<T, R>(&self, method: &str, params: T) -> Result<R, ProviderError>
+ pub async fn request<T, R>(&self, method: &str, params: T) -> Result<R, ProviderError>
where
T: Debug + Serialize + Send + Sync,
R: Serialize + DeserializeOwned + Debug,
