Skip to main content

Supported networks

Use one of these endpoints as your Linea API provider.

info

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://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>