diff --git a/packages/bridge-ui/src/components/ChainDropdown.svelte b/packages/bridge-ui/src/components/ChainDropdown.svelte
index 453e62a6421..0dc68cbaa35 100644
--- a/packages/bridge-ui/src/components/ChainDropdown.svelte
+++ b/packages/bridge-ui/src/components/ChainDropdown.svelte
@@ -11,7 +11,7 @@
await switchNetwork({
chainId: chain.id,
});
- const provider = new ethers.providers.Web3Provider(window.ethereum);
+ const provider = new ethers.providers.Web3Provider(window.ethereum, 'any');
await provider.send('eth_requestAccounts', []);
fromChain.set(chain);
diff --git a/packages/bridge-ui/src/components/form/SelectChain.svelte b/packages/bridge-ui/src/components/form/SelectChain.svelte
index bb6457ed690..ac7e45648b9 100644
--- a/packages/bridge-ui/src/components/form/SelectChain.svelte
+++ b/packages/bridge-ui/src/components/form/SelectChain.svelte
@@ -13,7 +13,10 @@
await switchNetwork({
chainId: chain.id,
});
- const provider = new ethers.providers.Web3Provider(window.ethereum);
+ const provider = new ethers.providers.Web3Provider(
+ window.ethereum,
+ 'any',
+ );
await provider.send('eth_requestAccounts', []);
fromChain.set(chain);
diff --git a/packages/bridge-ui/src/utils/switchChainAndSetSigner.ts b/packages/bridge-ui/src/utils/switchChainAndSetSigner.ts
index 11ec1490706..09d87cdc5b7 100644
--- a/packages/bridge-ui/src/utils/switchChainAndSetSigner.ts
+++ b/packages/bridge-ui/src/utils/switchChainAndSetSigner.ts
@@ -10,7 +10,10 @@ export async function switchChainAndSetSigner(chain: Chain) {
await switchNetwork({ chainId });
- const provider = new ethers.providers.Web3Provider(globalThis.ethereum);
+ const provider = new ethers.providers.Web3Provider(
+ globalThis.ethereum,
+ 'any',
+ );
await provider.send('eth_requestAccounts', []);
fromChain.set(chain);
diff --git a/packages/starter-dapp/src/components/ChainDropdown.svelte b/packages/starter-dapp/src/components/ChainDropdown.svelte
index ec6430e01f2..74219d1345b 100644
--- a/packages/starter-dapp/src/components/ChainDropdown.svelte
+++ b/packages/starter-dapp/src/components/ChainDropdown.svelte
@@ -11,7 +11,7 @@
await switchNetwork({
chainId: chain.id,
});
- const provider = new ethers.providers.Web3Provider(window.ethereum);
+ const provider = new ethers.providers.Web3Provider(window.ethereum, "any");
await provider.send("eth_requestAccounts", []);
fromChain.set(chain);
@@ -31,13 +31,13 @@