Chains

The 23 chains the built-in providers serve, which provider answers for each, and which operations any of them cover. Read from the registry, not typed in.

A chain is a key from @agntn/chains, so normalizeChain("btc"), normalizeChain("mainnet") and normalizeChain("Arbitrum One") all land on the same canonical name, and a typo throws instead of quietly reading another network. Below, every chain at least one provider claims, straight from builtins. A tick means some provider serves the operation on that chain; the provider pages say which one and with what key.

chainprovidersbalancehistorytxcontracttokenstransfersgasblock
Ethereum ethereumEtherscanBlockscoutBlockchair
Base baseEtherscanBlockscout
Arbitrum One arbitrumEtherscanBlockscout
Optimism optimismEtherscanBlockscout
Polygon PoS polygonEtherscanBlockscout
BNB Chain bscEtherscan
Avalanche C-Chain avalancheEtherscanBlockscout
Gnosis Chain gnosisEtherscanBlockscout
Linea lineaEtherscanBlockscout
Berachain berachainEtherscan
Scroll scrollBlockscout
zkSync Era zksyncBlockscout
Bitcoin bitcoinBlockchairMempoolBlockstream···
eCash ecashBlockchair····
Litecoin litecoinMempool···
Pepecoin pepecoinMempool···
Solana solanaSolscanHelius···
TON (The Open Network) tonTONAPI······
TRON tronTRONSCAN····
Aptos aptosAptos Explorer········
Sui suiBlockberry······
Cardano cardanoKoios····
Arweave arweaveArweave gateway····

Reading the table

  • Two providers on one chain means a fallback exists. Ethereum has four, Bitcoin three, and a rate limit on the first moves the read to the next one, once.
  • One provider means an outage on that explorer is your outage. Solana has two only if you count Helius, which has no balance endpoint.
  • A row without ticks is Aptos. The provider is registered, its capabilities are all false and the required methods throw UnsupportedOperationError. That is deliberate and the Aptos page says why.
  • Decimals differ. balance is a string in the smallest unit; formatWei(value, decimals) needs 8 for BTC, 9 for SOL, 12 for AR, 6 for ADA and the token's own value for everything else. Nothing on this site rounds a raw amount.

Aliases that work

normalizeChain() takes the display name, the key and the aliases the CLI users type: eth, mainnet, arb, op, matic, btc, ltc, sol, apt, coinbase for Base. Missing input defaults to ethereum. The empty string throws.

@agntn/explorers·MIT license· Read-only. Addresses you type go to a public explorer API, never to a wallet.