We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 114f7d5 commit 3ca3986Copy full SHA for 3ca3986
integrations/wagmi/metamask-connector.ts
@@ -281,11 +281,11 @@ export function metaMask(parameters: MetaMaskParameters = {}) {
281
// Convert viem AddEthereumChainParameter to MetaMask SDK format
282
const chainConfiguration = {
283
chainId: `0x${chainId.toString(16)}`,
284
- rpcUrls: rpcUrls,
+ rpcUrls: rpcUrls as string[] | undefined,
285
nativeCurrency:
286
addEthereumChainParameter?.nativeCurrency ?? chain.nativeCurrency,
287
chainName: addEthereumChainParameter?.chainName ?? chain.name,
288
- blockExplorerUrls: blockExplorerUrls,
+ blockExplorerUrls: blockExplorerUrls as string[] | undefined,
289
iconUrls: addEthereumChainParameter?.iconUrls,
290
}
291
0 commit comments