Skip to main content

Supported Chains

The Web3 Identity API supports multiple blockchain networks for various data types.

Primary Networksโ€‹

ChainChain IDENSPricesDeFiNFTs
Ethereum1โœ…โœ…โœ…โœ…
Base8453โœ…โœ…โœ…โœ…
Optimism10โ€”โœ…โœ…โœ…
Arbitrum42161โ€”โœ…โœ…โœ…

Chain Parameterโ€‹

Most endpoints accept a chain parameter:

# Ethereum (default)
curl https://api.web3identity.com/api/gas

# Base
curl https://api.web3identity.com/api/gas?chain=base

# Arbitrum
curl https://api.web3identity.com/api/gas?chain=arbitrum

Valid Chain Valuesโ€‹

ValueNetwork
ethereum or mainnetEthereum Mainnet
baseBase
optimism or opOptimism
arbitrum or arbArbitrum One

Chain-Specific Endpointsโ€‹

Gas Pricesโ€‹

# All chains at once
curl https://api.web3identity.com/api/gas/all

# Specific chain
curl https://api.web3identity.com/api/gas/base

DeFi Dataโ€‹

Most DeFi endpoints support chain filtering:

# TVL on Arbitrum only
curl https://api.web3identity.com/api/defi/tvl?chain=arbitrum

# Yields on Base
curl https://api.web3identity.com/api/yields?chain=base

Wallet Dataโ€‹

# Token balances on Base
curl https://api.web3identity.com/api/wallet/0x.../balances?chain=base

ENS Supportโ€‹

ENS resolution works across chains:

FeatureEthereumBaseL2s
Primary namesโœ…โœ… (via CCIP)โ€”
Reverse resolutionโœ…โœ…โ€”
Text recordsโœ…โœ…โ€”
Contenthashโœ…โœ…โ€”

Note: ENS names resolve on Ethereum mainnet. L2 queries use CCIP-Read for cross-chain resolution.

Payment Networkโ€‹

x402 payments are processed on Base (Chain ID 8453) using USDC:

{
"network": "base",
"chainId": 8453,
"asset": "USDC",
"contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}

Data Sources by Chainโ€‹

ChainPrice DataDeFi DataNFT Data
EthereumCoinGecko, DefiLlamaDefiLlama, The GraphAlchemy, OpenSea
BaseCoinGecko, DefiLlamaDefiLlamaAlchemy
OptimismCoinGecko, DefiLlamaDefiLlamaAlchemy
ArbitrumCoinGecko, DefiLlamaDefiLlamaAlchemy

Coming Soonโ€‹

We're evaluating support for:

  • Polygon (MATIC)
  • Avalanche (AVAX)
  • BNB Chain (BSC)

Request a chain โ†’