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 0e7f02e commit a60a59aCopy full SHA for a60a59a
web/src/consts/chains.ts
@@ -1,4 +1,3 @@
1
-import { extractChain } from "viem";
2
import { Chain, arbitrumSepolia, gnosisChiado } from "wagmi/chains";
3
4
export const DEFAULT_CHAIN = arbitrumSepolia.id;
@@ -15,9 +14,3 @@ export const QUERY_CHAINS: Record<number, Chain> = {
15
14
export const ALL_CHAINS = [...Object.values(SUPPORTED_CHAINS), ...Object.values(QUERY_CHAINS)];
16
17
export const QUERY_CHAIN_IDS = Object.keys(QUERY_CHAINS);
18
-
19
-export const getChain = (chainId: number): Chain | null =>
20
- extractChain({
21
- chains: ALL_CHAINS,
22
- id: chainId,
23
- });
0 commit comments