Method reference

eth_chainId

Returns the chain ID (EIP-155) as a hex string. Wallets and libraries check it before signing, and the signature commits to it, so a transaction signed for one chain cannot be replayed on another.

The chain ID each chain returned, with net_version alongside. Where the two differ, sign with eth_chainId.

1 of 55 chains return a net_version different from the chain ID.

eth_chainId on 55 chains, measured

Measured 2026-10-13 by calling eth_chainId through the SwiftNodes endpoint for each chain, re-measured weekly. Each chain links to its own page with the full response and code.

ChainChain IDHexnet_version
Abstract27410xab52741
ApeChain331390x817333139
Arbitrum421610xa4b142161
Arbitrum Nova421700xa4ba42170
Avalanche431140xa86a43114
Base84530x21058453
Berachain800940x138de80094
Blast814570x13e3181457
BNB Smart Chain560x3856
BOB608080xed8860808
Boba Network2880x120288
Celo422200xa4ec42220
Chiliz888880x15b3888888
Core11160x45c1116
Cronos250x1925
Ethereum10x11
Ethereum Classic610x3d1
Fantom2500xfa250
Flare140xe14
Fraxtal2520xfc252
Gnosis1000x64100
Hemi431110xa86743111
Hyperliquid9990x3e7999
Immutable zkEVM133710x343b13371
Ink570730xdef157073
Kaia82170x20198217
Katana7474740xb67d2747474
Linea591440xe70859144
Lisk11350x46f1135
Manta Pacific1690xa9169
Mantle50000x13885000
MegaETH43260x10e64326
Mode344430x868b34443
Monad1430x8f143
Morph28180xb022818
opBNB2040xcc204
Optimism100xa10
Plasma97450x26119745
Polygon1370x89137
PulseChain3690x171369
Ronin20200x7e42020
Scroll5343520x82750534352
Sei13290x5311329
Shibarium1090x6d109
Soneium18680x74c1868
Sonic1460x92146
Story15140x5ea1514
Taiko1670000x28c58167000
Telos EVM400x2840
Tempo42170x10794217
Unichain1300x82130
World Chain4800x1e0480
X Layer1960xc4196
zkSync Era3240x144324
Zora77777770x76adf17777777

Replace YOUR_API_KEY in the examples on each chain page with your SwiftNodes key (free tier available).