Skip to main content

Supported networks

deprecation notice

Linea Goerli is being deprecated. We discourage new development with this testnet and recommend using Linea Sepolia instead.

Use one of these endpoints as your Linea API provider.

Ensure you replace <API-KEY> with an API key from your Infura dashboard.

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://linea-mainnet.infura.io/v3/<API-KEY>
MainnetJSON-RPC over WebSocketwss://linea-mainnet.infura.io/ws/v3/<API-KEY>
Testnet (Goerli)JSON-RPC over HTTPShttps://linea-goerli.infura.io/v3/<API-KEY>
Testnet (Goerli)JSON-RPC over WebSocketwss://linea-goerli.infura.io/v3/<API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://linea-sepolia.infura.io/v3/<API-KEY>
Testnet (Sepolia)JSON-RPC over WebSocketwss://linea-sepolia.infura.io/v3/<API-KEY>