Socket
Socket
Sign inDemoInstall

@wagmi/chains

Package Overview
Dependencies
Maintainers
2
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wagmi/chains - npm Package Compare versions

Comparing version 0.0.0-20221201004721 to 0.0.0-20230121004721

1027

dist/index.d.ts

@@ -1,7 +0,7 @@

declare type Address = `0x${string}`;
declare type BlockExplorer = {
type Address = `0x${string}`;
type BlockExplorer = {
name: string;
url: string;
};
declare type Chain = {
type Chain = {
/** ID in number form */

@@ -19,2 +19,3 @@ id: number;

default: RpcUrls;
public: RpcUrls;
};

@@ -34,7 +35,7 @@ /** Collection of block explorers */

};
declare type Contract = {
type Contract = {
address: Address;
blockCreated?: number;
};
declare type NativeCurrency = {
type NativeCurrency = {
name: string;

@@ -45,43 +46,1015 @@ /** 2-6 characters long */

};
declare type RpcUrls = {
http: string[];
webSocket?: string[];
type RpcUrls = {
http: readonly string[];
webSocket?: readonly string[];
};
declare const arbitrum: Chain;
declare const arbitrum: {
readonly id: 42161;
readonly name: "Arbitrum One";
readonly network: "arbitrum";
readonly nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://arb-mainnet.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://arb-mainnet.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://arbitrum-mainnet.infura.io/v3"];
readonly webSocket: readonly ["wss://arbitrum-mainnet.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
};
readonly public: {
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Arbiscan";
readonly url: "https://arbiscan.io";
};
readonly default: {
readonly name: "Arbiscan";
readonly url: "https://arbiscan.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 7654707;
};
};
};
declare const arbitrumGoerli: Chain;
declare const arbitrumGoerli: {
readonly id: 421613;
readonly name: "Arbitrum Goerli";
readonly network: "arbitrum-goerli";
readonly nativeCurrency: {
readonly name: "Arbitrum Goerli Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://arb-goerli.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://arb-goerli.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://arbitrum-goerli.infura.io/v3"];
readonly webSocket: readonly ["wss://arbitrum-goerli.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://goerli-rollup.arbitrum.io/rpc"];
};
readonly public: {
readonly http: readonly ["https://goerli-rollup.arbitrum.io/rpc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Arbiscan";
readonly url: "https://goerli.arbiscan.io/";
};
readonly default: {
readonly name: "Arbiscan";
readonly url: "https://goerli.arbiscan.io/";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 88114;
};
};
readonly testnet: true;
};
declare const avalanche: Chain;
declare const avalanche: {
readonly id: 43114;
readonly name: "Avalanche";
readonly network: "avalanche";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Avalanche";
readonly symbol: "AVAX";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
};
readonly public: {
readonly http: readonly ["https://api.avax.network/ext/bc/C/rpc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "SnowTrace";
readonly url: "https://snowtrace.io";
};
readonly default: {
readonly name: "SnowTrace";
readonly url: "https://snowtrace.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 11907934;
};
};
};
declare const avalancheFuji: Chain;
declare const avalancheFuji: {
readonly id: 43113;
readonly name: "Avalanche Fuji";
readonly network: "avalanche-fuji";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Avalanche Fuji";
readonly symbol: "AVAX";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
};
readonly public: {
readonly http: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "SnowTrace";
readonly url: "https://testnet.snowtrace.io";
};
readonly default: {
readonly name: "SnowTrace";
readonly url: "https://testnet.snowtrace.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 7096959;
};
};
readonly testnet: true;
};
declare const bsc: Chain;
declare const bsc: {
readonly id: 56;
readonly name: "BNB Smart Chain";
readonly network: "bsc";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "BNB";
readonly symbol: "BNB";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.ankr.com/bsc"];
};
readonly public: {
readonly http: readonly ["https://rpc.ankr.com/bsc"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "BscScan";
readonly url: "https://bscscan.com";
};
readonly default: {
readonly name: "BscScan";
readonly url: "https://bscscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 15921452;
};
};
};
declare const bscTestnet: Chain;
declare const bscTestnet: {
readonly id: 97;
readonly name: "Binance Smart Chain Testnet";
readonly network: "bsc-testnet";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "BNB";
readonly symbol: "tBNB";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://bsc-testnet.public.blastapi.io"];
};
readonly public: {
readonly http: readonly ["https://bsc-testnet.public.blastapi.io"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "BscScan";
readonly url: "https://testnet.bscscan.com";
};
readonly default: {
readonly name: "BscScan";
readonly url: "https://testnet.bscscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 17422483;
};
};
readonly testnet: true;
};
declare const fantom: Chain;
declare const crossbell: {
readonly id: 3737;
readonly network: "crossbell";
readonly name: "Crossbell";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "CSB";
readonly symbol: "CSB";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.crossbell.io"];
};
readonly public: {
readonly http: readonly ["https://rpc.crossbell.io"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "CrossScan";
readonly url: "https://scan.crossbell.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xBB9759009cDaC82774EfC84D94cD9F7440f75Fcf";
readonly blockCreated: 23499787;
};
};
};
declare const fantomTestnet: Chain;
declare const evmos: {
readonly id: 9001;
readonly name: "Evmos";
readonly network: "evmos";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Evmos";
readonly symbol: "EVMOS";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://eth.bd.evmos.org:8545"];
};
readonly public: {
readonly http: readonly ["https://eth.bd.evmos.org:8545"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "Evmos Block Explorer";
readonly url: "https://escan.live/";
};
};
};
declare const foundry: Chain;
declare const evmosTestnet: {
readonly id: 9000;
readonly name: "Evmos Testnet";
readonly network: "evmos-testnet";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Evmos";
readonly symbol: "EVMOS";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://eth.bd.evmos.dev:8545"];
};
readonly public: {
readonly http: readonly ["https://eth.bd.evmos.dev:8545"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "Evmos Testnet Block Explorer";
readonly url: "https://evm.evmos.dev/";
};
};
};
declare const goerli: Chain;
declare const fantom: {
readonly id: 250;
readonly name: "Fantom";
readonly network: "fantom";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Fantom";
readonly symbol: "FTM";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.ankr.com/fantom"];
};
readonly public: {
readonly http: readonly ["https://rpc.ankr.com/fantom"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "FTMScan";
readonly url: "https://ftmscan.com";
};
readonly default: {
readonly name: "FTMScan";
readonly url: "https://ftmscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 33001987;
};
};
};
declare const hardhat: Chain;
declare const fantomTestnet: {
readonly id: 4002;
readonly name: "Fantom Testnet";
readonly network: "fantom-testnet";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Fantom";
readonly symbol: "FTM";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.testnet.fantom.network"];
};
readonly public: {
readonly http: readonly ["https://rpc.testnet.fantom.network"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "FTMScan";
readonly url: "https://testnet.ftmscan.com";
};
readonly default: {
readonly name: "FTMScan";
readonly url: "https://testnet.ftmscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 8328688;
};
};
};
declare const localhost: Chain;
declare const foundry: {
readonly id: 31337;
readonly name: "Foundry";
readonly network: "foundry";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
readonly public: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
};
};
declare const mainnet: Chain;
declare const iotex: {
readonly id: 4689;
readonly name: "IoTeX";
readonly network: "iotex";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "IoTeX";
readonly symbol: "IOTX";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://babel-api.mainnet.iotex.io"];
readonly webSocket: readonly ["wss://babel-api.mainnet.iotex.io"];
};
readonly public: {
readonly http: readonly ["https://babel-api.mainnet.iotex.io"];
readonly webSocket: readonly ["wss://babel-api.mainnet.iotex.io"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "IoTeXScan";
readonly url: "https://iotexscan.io";
};
};
};
declare const optimism: Chain;
declare const iotexTestnet: {
readonly id: 4690;
readonly name: "IoTeX Testnet";
readonly network: "iotex-testnet";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "IoTeX";
readonly symbol: "IOTX";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://babel-api.testnet.iotex.io"];
readonly webSocket: readonly ["wss://babel-api.testnet.iotex.io"];
};
readonly public: {
readonly http: readonly ["https://babel-api.testnet.iotex.io"];
readonly webSocket: readonly ["wss://babel-api.testnet.iotex.io"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "IoTeXScan";
readonly url: "https://testnet.iotexscan.io";
};
};
};
declare const optimismGoerli: Chain;
declare const goerli: {
readonly id: 5;
readonly network: "goerli";
readonly name: "Goerli";
readonly nativeCurrency: {
readonly name: "Goerli Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://eth-goerli.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://eth-goerli.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://goerli.infura.io/v3"];
readonly webSocket: readonly ["wss://goerli.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://rpc.ankr.com/eth_goerli"];
};
readonly public: {
readonly http: readonly ["https://rpc.ankr.com/eth_goerli"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://goerli.etherscan.io";
};
readonly default: {
readonly name: "Etherscan";
readonly url: "https://goerli.etherscan.io";
};
};
readonly contracts: {
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 6507670;
};
};
readonly testnet: true;
};
declare const polygon: Chain;
declare const gnosis: {
readonly id: 100;
readonly name: "Gnosis";
readonly network: "gnosis";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Gnosis";
readonly symbol: "xDAI";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.gnosischain.com"];
};
readonly public: {
readonly http: readonly ["https://rpc.gnosischain.com"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Gnosisscan";
readonly url: "https://gnosisscan.io/";
};
readonly default: {
readonly name: "Gnosis Chain Explorer";
readonly url: "https://blockscout.com/xdai/mainnet/";
};
};
};
declare const polygonMumbai: Chain;
declare const gnosisChiado: {
readonly id: 10200;
readonly name: "Gnosis Chiado";
readonly network: "chiado";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Gnosis";
readonly symbol: "xDAI";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.chiadochain.net"];
};
readonly public: {
readonly http: readonly ["https://rpc.chiadochain.net"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "Blockscout";
readonly url: "https://blockscout.chiadochain.net";
};
};
};
declare const sepolia: Chain;
declare const hardhat: {
readonly id: 31337;
readonly name: "Hardhat";
readonly network: "hardhat";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
readonly public: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
};
};
export { Chain, arbitrum, arbitrumGoerli, avalanche, avalancheFuji, bsc, bscTestnet, fantom, fantomTestnet, foundry, goerli, hardhat, localhost, mainnet, optimism, optimismGoerli, polygon, polygonMumbai, sepolia };
declare const localhost: {
readonly id: 1337;
readonly name: "Localhost";
readonly network: "localhost";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
readonly public: {
readonly http: readonly ["http://127.0.0.1:8545"];
};
};
};
declare const mainnet: {
readonly id: 1;
readonly network: "homestead";
readonly name: "Ethereum";
readonly nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://eth-mainnet.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://eth-mainnet.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://mainnet.infura.io/v3"];
readonly webSocket: readonly ["wss://mainnet.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://cloudflare-eth.com"];
};
readonly public: {
readonly http: readonly ["https://cloudflare-eth.com"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://etherscan.io";
};
readonly default: {
readonly name: "Etherscan";
readonly url: "https://etherscan.io";
};
};
readonly contracts: {
readonly ensRegistry: {
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
};
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 14353601;
};
};
};
declare const metis: {
readonly id: 1088;
readonly name: "Metis";
readonly network: "andromeda";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Metis";
readonly symbol: "METIS";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://andromeda.metis.io/?owner=1088"];
};
readonly public: {
readonly http: readonly ["https://andromeda.metis.io/?owner=1088"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "Andromeda Explorer";
readonly url: "https://andromeda-explorer.metis.io";
};
};
};
declare const metisGoerli: {
readonly id: 599;
readonly name: "Metis Goerli";
readonly network: "metis-goerli";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Metis Goerli";
readonly symbol: "METIS";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://goerli.gateway.metisdevops.link"];
};
readonly public: {
readonly http: readonly ["https://goerli.gateway.metisdevops.link"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "Metis Goerli Explorer";
readonly url: "https://goerli.explorer.metisdevops.link";
};
};
};
declare const optimism: {
readonly id: 10;
readonly name: "Optimism";
readonly network: "optimism";
readonly nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://opt-mainnet.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://opt-mainnet.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://optimism-mainnet.infura.io/v3"];
readonly webSocket: readonly ["wss://optimism-mainnet.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://mainnet.optimism.io"];
};
readonly public: {
readonly http: readonly ["https://mainnet.optimism.io"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://optimistic.etherscan.io";
};
readonly default: {
readonly name: "Optimism Explorer";
readonly url: "https://explorer.optimism.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 4286263;
};
};
};
declare const optimismGoerli: {
readonly id: 420;
readonly name: "Optimism Goerli";
readonly network: "optimism-goerli";
readonly nativeCurrency: {
readonly name: "Goerli Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://opt-goerli.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://opt-goerli.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://optimism-goerli.infura.io/v3"];
readonly webSocket: readonly ["wss://optimism-goerli.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://goerli.optimism.io"];
};
readonly public: {
readonly http: readonly ["https://goerli.optimism.io"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://goerli-optimism.etherscan.io";
};
readonly default: {
readonly name: "Etherscan";
readonly url: "https://goerli-optimism.etherscan.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 49461;
};
};
readonly testnet: true;
};
declare const polygon: {
readonly id: 137;
readonly name: "Polygon";
readonly network: "matic";
readonly nativeCurrency: {
readonly name: "MATIC";
readonly symbol: "MATIC";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://polygon-mainnet.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://polygon-mainnet.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://polygon-mainnet.infura.io/v3"];
readonly webSocket: readonly ["wss://polygon-mainnet.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://polygon-rpc.com"];
};
readonly public: {
readonly http: readonly ["https://polygon-rpc.com"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "PolygonScan";
readonly url: "https://polygonscan.com";
};
readonly default: {
readonly name: "PolygonScan";
readonly url: "https://polygonscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 25770160;
};
};
};
declare const polygonMumbai: {
readonly id: 80001;
readonly name: "Polygon Mumbai";
readonly network: "maticmum";
readonly nativeCurrency: {
readonly name: "MATIC";
readonly symbol: "MATIC";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly alchemy: {
readonly http: readonly ["https://polygon-mumbai.g.alchemy.com/v2"];
readonly webSocket: readonly ["wss://polygon-mumbai.g.alchemy.com/v2"];
};
readonly infura: {
readonly http: readonly ["https://polygon-mumbai.infura.io/v3"];
readonly webSocket: readonly ["wss://polygon-mumbai.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://matic-mumbai.chainstacklabs.com"];
};
readonly public: {
readonly http: readonly ["https://matic-mumbai.chainstacklabs.com"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "PolygonScan";
readonly url: "https://mumbai.polygonscan.com";
};
readonly default: {
readonly name: "PolygonScan";
readonly url: "https://mumbai.polygonscan.com";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 25770160;
};
};
readonly testnet: true;
};
declare const sepolia: {
readonly id: 11155111;
readonly network: "sepolia";
readonly name: "Sepolia";
readonly nativeCurrency: {
readonly name: "Sepolia Ether";
readonly symbol: "SEP";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly infura: {
readonly http: readonly ["https://sepolia.infura.io/v3"];
readonly webSocket: readonly ["wss://sepolia.infura.io/ws/v3"];
};
readonly default: {
readonly http: readonly ["https://rpc.sepolia.org"];
};
readonly public: {
readonly http: readonly ["https://rpc.sepolia.org"];
};
};
readonly blockExplorers: {
readonly etherscan: {
readonly name: "Etherscan";
readonly url: "https://sepolia.etherscan.io";
};
readonly default: {
readonly name: "Etherscan";
readonly url: "https://sepolia.etherscan.io";
};
};
readonly contracts: {
readonly multicall3: {
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
readonly blockCreated: 6507670;
};
};
readonly testnet: true;
};
declare const taraxa: {
readonly id: 841;
readonly name: "Taraxa Mainnet";
readonly network: "taraxa";
readonly nativeCurrency: {
readonly name: "Tara";
readonly symbol: "TARA";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.mainnet.taraxa.io"];
};
readonly public: {
readonly http: readonly ["https://rpc.mainnet.taraxa.io"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "Taraxa Explorer";
readonly url: "https://explorer.mainnet.taraxa.io";
};
};
};
declare const taraxaTestnet: {
readonly id: 842;
readonly name: "Taraxa Testnet";
readonly network: "taraxa-testnet";
readonly nativeCurrency: {
readonly name: "Tara";
readonly symbol: "TARA";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://rpc.testnet.taraxa.io"];
};
readonly public: {
readonly http: readonly ["https://rpc.testnet.taraxa.io"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "Taraxa Explorer";
readonly url: "https://explorer.testnet.taraxa.io";
};
};
readonly testnet: true;
};
declare const zkSync: {
readonly id: 324;
readonly name: "zkSync";
readonly network: "zksync";
readonly nativeCurrency: {
readonly decimals: 18;
readonly name: "Ether";
readonly symbol: "ETH";
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://zksync2-mainnet.zksync.io"];
readonly webSocket: readonly ["wss://zksync2-mainnet.zksync.io/ws"];
};
readonly public: {
readonly http: readonly ["https://zksync2-mainnet.zksync.io"];
readonly webSocket: readonly ["wss://zksync2-mainnet.zksync.io/ws"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "zkExplorer";
readonly url: "https://explorer.zksync.io";
};
};
};
declare const zkSyncTestnet: {
readonly id: 280;
readonly name: "zkSync Testnet";
readonly network: "zksync-testnet";
readonly nativeCurrency: {
readonly name: "Ether";
readonly symbol: "ETH";
readonly decimals: 18;
};
readonly rpcUrls: {
readonly default: {
readonly http: readonly ["https://zksync2-testnet.zksync.dev"];
readonly webSocket: readonly ["wss://zksync2-testnet.zksync.dev/ws"];
};
readonly public: {
readonly http: readonly ["https://zksync2-testnet.zksync.dev"];
readonly webSocket: readonly ["wss://zksync2-testnet.zksync.dev/ws"];
};
};
readonly blockExplorers: {
readonly default: {
readonly name: "zkExplorer";
readonly url: "https://goerli.explorer.zksync.io";
};
};
readonly testnet: true;
};
export { Chain, arbitrum, arbitrumGoerli, avalanche, avalancheFuji, bsc, bscTestnet, crossbell, evmos, evmosTestnet, fantom, fantomTestnet, foundry, gnosis, gnosisChiado, goerli, hardhat, iotex, iotexTestnet, localhost, mainnet, metis, metisGoerli, optimism, optimismGoerli, polygon, polygonMumbai, sepolia, taraxa, taraxaTestnet, zkSync, zkSyncTestnet };

@@ -18,2 +18,5 @@ // src/arbitrum.ts

http: ["https://arb1.arbitrum.io/rpc"]
},
public: {
http: ["https://arb1.arbitrum.io/rpc"]
}

@@ -53,8 +56,11 @@ },

default: {
http: ["https://arb1.arbitrum.io/rpc"]
http: ["https://goerli-rollup.arbitrum.io/rpc"]
},
public: {
http: ["https://goerli-rollup.arbitrum.io/rpc"]
}
},
blockExplorers: {
etherscan: { name: "Arbiscan", url: "https://arbiscan.io" },
default: { name: "Arbiscan", url: "https://arbiscan.io" }
etherscan: { name: "Arbiscan", url: "https://goerli.arbiscan.io/" },
default: { name: "Arbiscan", url: "https://goerli.arbiscan.io/" }
},

@@ -64,3 +70,3 @@ contracts: {

address: "0xca11bde05977b3631167028862be2a173976ca11",
blockCreated: 7654707
blockCreated: 88114
}

@@ -82,3 +88,4 @@ },

rpcUrls: {
default: { http: ["https://api.avax.network/ext/bc/C/rpc"] }
default: { http: ["https://api.avax.network/ext/bc/C/rpc"] },
public: { http: ["https://api.avax.network/ext/bc/C/rpc"] }
},

@@ -108,3 +115,4 @@ blockExplorers: {

rpcUrls: {
default: { http: ["https://api.avax-test.network/ext/bc/C/rpc"] }
default: { http: ["https://api.avax-test.network/ext/bc/C/rpc"] },
public: { http: ["https://api.avax-test.network/ext/bc/C/rpc"] }
},

@@ -127,3 +135,3 @@ blockExplorers: {

id: 56,
name: "Binance Smart Chain",
name: "BNB Smart Chain",
network: "bsc",

@@ -136,3 +144,4 @@ nativeCurrency: {

rpcUrls: {
default: { http: ["https://rpc.ankr.com/bsc"] }
default: { http: ["https://rpc.ankr.com/bsc"] },
public: { http: ["https://rpc.ankr.com/bsc"] }
},

@@ -162,3 +171,4 @@ blockExplorers: {

rpcUrls: {
default: { http: ["https://bsctestapi.terminet.io/rpc"] }
default: { http: ["https://bsc-testnet.public.blastapi.io"] },
public: { http: ["https://bsc-testnet.public.blastapi.io"] }
},

@@ -178,2 +188,72 @@ blockExplorers: {

// src/crossbell.ts
var crossbell = {
id: 3737,
network: "crossbell",
name: "Crossbell",
nativeCurrency: {
decimals: 18,
name: "CSB",
symbol: "CSB"
},
rpcUrls: {
default: {
http: ["https://rpc.crossbell.io"]
},
public: {
http: ["https://rpc.crossbell.io"]
}
},
blockExplorers: {
default: { name: "CrossScan", url: "https://scan.crossbell.io" }
},
contracts: {
multicall3: {
address: "0xBB9759009cDaC82774EfC84D94cD9F7440f75Fcf",
blockCreated: 23499787
}
}
};
// src/evmos.ts
var evmos = {
id: 9001,
name: "Evmos",
network: "evmos",
nativeCurrency: {
decimals: 18,
name: "Evmos",
symbol: "EVMOS"
},
rpcUrls: {
default: { http: ["https://eth.bd.evmos.org:8545"] },
public: { http: ["https://eth.bd.evmos.org:8545"] }
},
blockExplorers: {
default: { name: "Evmos Block Explorer", url: "https://escan.live/" }
}
};
// src/evmosTestnet.ts
var evmosTestnet = {
id: 9e3,
name: "Evmos Testnet",
network: "evmos-testnet",
nativeCurrency: {
decimals: 18,
name: "Evmos",
symbol: "EVMOS"
},
rpcUrls: {
default: { http: ["https://eth.bd.evmos.dev:8545"] },
public: { http: ["https://eth.bd.evmos.dev:8545"] }
},
blockExplorers: {
default: {
name: "Evmos Testnet Block Explorer",
url: "https://evm.evmos.dev/"
}
}
};
// src/fantom.ts

@@ -190,3 +270,4 @@ var fantom = {

rpcUrls: {
default: { http: ["https://rpc.ankr.com/fantom"] }
default: { http: ["https://rpc.ankr.com/fantom"] },
public: { http: ["https://rpc.ankr.com/fantom"] }
},

@@ -207,3 +288,3 @@ blockExplorers: {

var fantomTestnet = {
id: 250,
id: 4002,
name: "Fantom Testnet",

@@ -217,3 +298,4 @@ network: "fantom-testnet",

rpcUrls: {
default: { http: ["https://rpc.testnet.fantom.network"] }
default: { http: ["https://rpc.testnet.fantom.network"] },
public: { http: ["https://rpc.testnet.fantom.network"] }
},

@@ -243,6 +325,57 @@ blockExplorers: {

rpcUrls: {
default: { http: ["http://127.0.0.1:8545"] }
default: { http: ["http://127.0.0.1:8545"] },
public: { http: ["http://127.0.0.1:8545"] }
}
};
// src/iotex.ts
var iotex = {
id: 4689,
name: "IoTeX",
network: "iotex",
nativeCurrency: {
decimals: 18,
name: "IoTeX",
symbol: "IOTX"
},
rpcUrls: {
default: {
http: ["https://babel-api.mainnet.iotex.io"],
webSocket: ["wss://babel-api.mainnet.iotex.io"]
},
public: {
http: ["https://babel-api.mainnet.iotex.io"],
webSocket: ["wss://babel-api.mainnet.iotex.io"]
}
},
blockExplorers: {
default: { name: "IoTeXScan", url: "https://iotexscan.io" }
}
};
// src/iotexTestnet.ts
var iotexTestnet = {
id: 4690,
name: "IoTeX Testnet",
network: "iotex-testnet",
nativeCurrency: {
decimals: 18,
name: "IoTeX",
symbol: "IOTX"
},
rpcUrls: {
default: {
http: ["https://babel-api.testnet.iotex.io"],
webSocket: ["wss://babel-api.testnet.iotex.io"]
},
public: {
http: ["https://babel-api.testnet.iotex.io"],
webSocket: ["wss://babel-api.testnet.iotex.io"]
}
},
blockExplorers: {
default: { name: "IoTeXScan", url: "https://testnet.iotexscan.io" }
}
};
// src/goerli.ts

@@ -253,3 +386,3 @@ var goerli = {

name: "Goerli",
nativeCurrency: { name: "Goerli Ether", symbol: "GOR", decimals: 18 },
nativeCurrency: { name: "Goerli Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {

@@ -266,2 +399,5 @@ alchemy: {

http: ["https://rpc.ankr.com/eth_goerli"]
},
public: {
http: ["https://rpc.ankr.com/eth_goerli"]
}

@@ -291,2 +427,50 @@ },

// src/gnosis.ts
var gnosis = {
id: 100,
name: "Gnosis",
network: "gnosis",
nativeCurrency: {
decimals: 18,
name: "Gnosis",
symbol: "xDAI"
},
rpcUrls: {
default: { http: ["https://rpc.gnosischain.com"] },
public: { http: ["https://rpc.gnosischain.com"] }
},
blockExplorers: {
etherscan: {
name: "Gnosisscan",
url: "https://gnosisscan.io/"
},
default: {
name: "Gnosis Chain Explorer",
url: "https://blockscout.com/xdai/mainnet/"
}
}
};
// src/gnosisChiado.ts
var gnosisChiado = {
id: 10200,
name: "Gnosis Chiado",
network: "chiado",
nativeCurrency: {
decimals: 18,
name: "Gnosis",
symbol: "xDAI"
},
rpcUrls: {
default: { http: ["https://rpc.chiadochain.net"] },
public: { http: ["https://rpc.chiadochain.net"] }
},
blockExplorers: {
default: {
name: "Blockscout",
url: "https://blockscout.chiadochain.net"
}
}
};
// src/hardhat.ts

@@ -303,3 +487,4 @@ var hardhat = {

rpcUrls: {
default: { http: ["http://127.0.0.1:8545"] }
default: { http: ["http://127.0.0.1:8545"] },
public: { http: ["http://127.0.0.1:8545"] }
}

@@ -319,3 +504,4 @@ };

rpcUrls: {
default: { http: ["http://127.0.0.1:8545"] }
default: { http: ["http://127.0.0.1:8545"] },
public: { http: ["http://127.0.0.1:8545"] }
}

@@ -341,2 +527,5 @@ };

http: ["https://cloudflare-eth.com"]
},
public: {
http: ["https://cloudflare-eth.com"]
}

@@ -365,2 +554,46 @@ },

// src/metis.ts
var metis = {
id: 1088,
name: "Metis",
network: "andromeda",
nativeCurrency: {
decimals: 18,
name: "Metis",
symbol: "METIS"
},
rpcUrls: {
default: { http: ["https://andromeda.metis.io/?owner=1088"] },
public: { http: ["https://andromeda.metis.io/?owner=1088"] }
},
blockExplorers: {
default: {
name: "Andromeda Explorer",
url: "https://andromeda-explorer.metis.io"
}
}
};
// src/metisGoerli.ts
var metisGoerli = {
id: 599,
name: "Metis Goerli",
network: "metis-goerli",
nativeCurrency: {
decimals: 18,
name: "Metis Goerli",
symbol: "METIS"
},
rpcUrls: {
default: { http: ["https://goerli.gateway.metisdevops.link"] },
public: { http: ["https://goerli.gateway.metisdevops.link"] }
},
blockExplorers: {
default: {
name: "Metis Goerli Explorer",
url: "https://goerli.explorer.metisdevops.link"
}
}
};
// src/optimism.ts

@@ -383,2 +616,5 @@ var optimism = {

http: ["https://mainnet.optimism.io"]
},
public: {
http: ["https://mainnet.optimism.io"]
}

@@ -392,4 +628,4 @@ },

default: {
name: "Etherscan",
url: "https://optimistic.etherscan.io"
name: "Optimism Explorer",
url: "https://explorer.optimism.io"
}

@@ -422,2 +658,5 @@ },

http: ["https://goerli.optimism.io"]
},
public: {
http: ["https://goerli.optimism.io"]
}

@@ -461,2 +700,5 @@ },

http: ["https://polygon-rpc.com"]
},
public: {
http: ["https://polygon-rpc.com"]
}

@@ -499,2 +741,5 @@ },

http: ["https://matic-mumbai.chainstacklabs.com"]
},
public: {
http: ["https://matic-mumbai.chainstacklabs.com"]
}

@@ -534,2 +779,5 @@ },

http: ["https://rpc.sepolia.org"]
},
public: {
http: ["https://rpc.sepolia.org"]
}

@@ -548,5 +796,2 @@ },

contracts: {
ensRegistry: {
address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
},
multicall3: {

@@ -559,2 +804,100 @@ address: "0xca11bde05977b3631167028862be2a173976ca11",

};
// src/taraxa.ts
var taraxa = {
id: 841,
name: "Taraxa Mainnet",
network: "taraxa",
nativeCurrency: { name: "Tara", symbol: "TARA", decimals: 18 },
rpcUrls: {
default: {
http: ["https://rpc.mainnet.taraxa.io"]
},
public: {
http: ["https://rpc.mainnet.taraxa.io"]
}
},
blockExplorers: {
default: {
name: "Taraxa Explorer",
url: "https://explorer.mainnet.taraxa.io"
}
}
};
// src/taraxaTestnet.ts
var taraxaTestnet = {
id: 842,
name: "Taraxa Testnet",
network: "taraxa-testnet",
nativeCurrency: { name: "Tara", symbol: "TARA", decimals: 18 },
rpcUrls: {
default: {
http: ["https://rpc.testnet.taraxa.io"]
},
public: {
http: ["https://rpc.testnet.taraxa.io"]
}
},
blockExplorers: {
default: {
name: "Taraxa Explorer",
url: "https://explorer.testnet.taraxa.io"
}
},
testnet: true
};
// src/zkSync.ts
var zkSync = {
id: 324,
name: "zkSync",
network: "zksync",
nativeCurrency: {
decimals: 18,
name: "Ether",
symbol: "ETH"
},
rpcUrls: {
default: {
http: ["https://zksync2-mainnet.zksync.io"],
webSocket: ["wss://zksync2-mainnet.zksync.io/ws"]
},
public: {
http: ["https://zksync2-mainnet.zksync.io"],
webSocket: ["wss://zksync2-mainnet.zksync.io/ws"]
}
},
blockExplorers: {
default: {
name: "zkExplorer",
url: "https://explorer.zksync.io"
}
}
};
// src/zkSyncTestnet.ts
var zkSyncTestnet = {
id: 280,
name: "zkSync Testnet",
network: "zksync-testnet",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
default: {
http: ["https://zksync2-testnet.zksync.dev"],
webSocket: ["wss://zksync2-testnet.zksync.dev/ws"]
},
public: {
http: ["https://zksync2-testnet.zksync.dev"],
webSocket: ["wss://zksync2-testnet.zksync.dev/ws"]
}
},
blockExplorers: {
default: {
name: "zkExplorer",
url: "https://goerli.explorer.zksync.io"
}
},
testnet: true
};
export {

@@ -567,9 +910,18 @@ arbitrum,

bscTestnet,
crossbell,
evmos,
evmosTestnet,
fantom,
fantomTestnet,
foundry,
gnosis,
gnosisChiado,
goerli,
hardhat,
iotex,
iotexTestnet,
localhost,
mainnet,
metis,
metisGoerli,
optimism,

@@ -579,3 +931,7 @@ optimismGoerli,

polygonMumbai,
sepolia
sepolia,
taraxa,
taraxaTestnet,
zkSync,
zkSyncTestnet
};

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.0.0-20221201004721",
"version": "0.0.0-20230121004721",
"type": "module",

@@ -14,3 +14,4 @@ "main": "dist/index.js",

"default": "./dist/index.js"
}
},
"./package.json": "./package.json"
},

@@ -21,2 +22,10 @@ "files": [

"sideEffects": false,
"peerDependencies": {
"typescript": ">=4.9.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"contributors": [

@@ -51,4 +60,5 @@ "jxom.eth <j@wagmi.sh>",

"scripts": {
"build": "tsup"
"build": "tsup",
"dev": "DEV=true tsup"
}
}
# `@wagmi/chains`
References to popular EVM-compatible chains.
## Installation
Install the `@wagmi/chains` reference package.
Install the `@wagmi/chains` package.

@@ -29,4 +31,2 @@ ```

- `mainnet`
- `goerli`
- `arbitrum`

@@ -38,2 +38,13 @@ - `arbitrumGoerli`

- `bscTestnet`
- `fantom`
- `fantomTestnet`
- `foundry`
- `goerli`
- `hardhat`
- `iotex`
- `iotexTestnet`
- `localhost`
- `mainnet`
- `metis`
- `metisGoerli`
- `optimism`

@@ -44,1 +55,9 @@ - `optimismGoerli`

- `sepolia`
- `taraxa`
- `taraxaTestnet`
- `zkSync`
- `zkSyncTestnet`
## Contributing
Want to add another chain to the list? Make sure you read the [contributing guide](../../.github/CONTRIBUTING.md) first.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc