You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO wanted to return ExecuteError directly here, but can't because Swift keeps the UniFFI lifer private to the yttrium crate and not available to kotlin-ffi crate
// // TODO wanted to return ExecuteError directly here, but can't because Swift keeps the UniFFI lifer private to the yttrium crate and not available to kotlin-ffi crate
252
-
// // This will be fixed when we merge these crates
291
+
// .map(Into::into)
253
292
// .map_err(|e| FFIError::General(e.to_string()))
254
293
// }
255
294
256
295
pubasyncfnestimate_fees(
257
296
&self,
258
297
chain_id:String,
259
298
) -> Result<Eip1559Estimation,FFIError>{
260
-
self.client
261
-
.provider_pool
262
-
.get_provider(&chain_id)
263
-
.await
299
+
let url = format!("https://rpc.walletconnect.org/v1?chainId={chain_id}&projectId={}",self.project_id)
300
+
.parse()
301
+
.expect("Invalid RPC URL");
302
+
303
+
let provider = RootProvider::<Ethereum>::new_http(url);
0 commit comments