Type Alias chaindexing::ChainId

source ·
pub type ChainId = Chain;
Expand description

Represents the network ID for an EVM Chain For example, ChainId::Mainnet, ChainId::Polygon, etc.

Aliased Type§

enum ChainId {
Show 78 variants Mainnet = 1, Morden = 2, Ropsten = 3, Rinkeby = 4, Goerli = 5, Kovan = 42, Holesky = 17_000, Sepolia = 11_155_111, Optimism = 10, OptimismKovan = 69, OptimismGoerli = 420, OptimismSepolia = 11_155_420, Arbitrum = 42_161, ArbitrumTestnet = 421_611, ArbitrumGoerli = 421_613, ArbitrumSepolia = 421_614, ArbitrumNova = 42_170, Cronos = 25, CronosTestnet = 338, Rsk = 30, BinanceSmartChain = 56, BinanceSmartChainTestnet = 97, Poa = 99, Sokol = 77, ScrollSepolia = 534_351, Scroll = 534_352, ScrollAlphaTestnet = 534_353, Metis = 1_088, Gnosis = 100, Polygon = 137, PolygonMumbai = 80_001, PolygonAmoy = 80_002, PolygonZkEvm = 1_101, PolygonZkEvmTestnet = 1_442, Fantom = 250, FantomTestnet = 4_002, Moonbeam = 1_284, MoonbeamDev = 1_281, Moonriver = 1_285, Moonbase = 1_287, Dev = 1_337, AnvilHardhat = 31_337, Evmos = 9_001, EvmosTestnet = 9_000, Chiado = 10_200, Oasis = 26_863, Emerald = 42_262, EmeraldTestnet = 42_261, FilecoinMainnet = 314, FilecoinCalibrationTestnet = 314_159, Avalanche = 43_114, AvalancheFuji = 43_113, Celo = 42_220, CeloAlfajores = 44_787, CeloBaklava = 62_320, Aurora = 1_313_161_554, AuroraTestnet = 1_313_161_555, Canto = 7_700, CantoTestnet = 740, Boba = 288, Base = 8_453, BaseGoerli = 84_531, BaseSepolia = 84_532, Blast = 81_457, BlastSepolia = 168_587_773, Linea = 59_144, LineaTestnet = 59_140, ZkSync = 324, ZkSyncTestnet = 280, Mantle = 5_000, MantleTestnet = 5_001, Viction = 88, Zora = 7_777_777, ZoraGoerli = 999, ZoraSepolia = 999_999_999, Mode = 34_443, ModeSepolia = 919, Elastos = 20,
}

Variants§

§

Mainnet = 1

§

Morden = 2

§

Ropsten = 3

§

Rinkeby = 4

§

Goerli = 5

§

Kovan = 42

§

Holesky = 17_000

§

Sepolia = 11_155_111

§

Optimism = 10

§

OptimismKovan = 69

§

OptimismGoerli = 420

§

OptimismSepolia = 11_155_420

§

Arbitrum = 42_161

§

ArbitrumTestnet = 421_611

§

ArbitrumGoerli = 421_613

§

ArbitrumSepolia = 421_614

§

ArbitrumNova = 42_170

§

Cronos = 25

§

CronosTestnet = 338

§

Rsk = 30

§

BinanceSmartChain = 56

§

BinanceSmartChainTestnet = 97

§

Poa = 99

§

Sokol = 77

§

ScrollSepolia = 534_351

§

Scroll = 534_352

§

ScrollAlphaTestnet = 534_353

§

Metis = 1_088

§

Gnosis = 100

§

Polygon = 137

§

PolygonMumbai = 80_001

§

PolygonAmoy = 80_002

§

PolygonZkEvm = 1_101

§

PolygonZkEvmTestnet = 1_442

§

Fantom = 250

§

FantomTestnet = 4_002

§

Moonbeam = 1_284

§

MoonbeamDev = 1_281

§

Moonriver = 1_285

§

Moonbase = 1_287

§

Dev = 1_337

§

AnvilHardhat = 31_337

§

Evmos = 9_001

§

EvmosTestnet = 9_000

§

Chiado = 10_200

§

Oasis = 26_863

§

Emerald = 42_262

§

EmeraldTestnet = 42_261

§

FilecoinMainnet = 314

§

FilecoinCalibrationTestnet = 314_159

§

Avalanche = 43_114

§

AvalancheFuji = 43_113

§

Celo = 42_220

§

CeloAlfajores = 44_787

§

CeloBaklava = 62_320

§

Aurora = 1_313_161_554

§

AuroraTestnet = 1_313_161_555

§

Canto = 7_700

§

CantoTestnet = 740

§

Boba = 288

§

Base = 8_453

§

BaseGoerli = 84_531

§

BaseSepolia = 84_532

§

Blast = 81_457

§

BlastSepolia = 168_587_773

§

Linea = 59_144

§

LineaTestnet = 59_140

§

ZkSync = 324

§

ZkSyncTestnet = 280

§

Mantle = 5_000

§

MantleTestnet = 5_001

§

Viction = 88

§

Zora = 7_777_777

§

ZoraGoerli = 999

§

ZoraSepolia = 999_999_999

§

Mode = 34_443

§

ModeSepolia = 919

§

Elastos = 20