How to connect to Linea Testnet using Infura

Have more questions? Submit a request

Infura provides an endpoint specifically for developers wishing to build dapps on Linea, or otherwise access network information.

Getting your API Key

The steps required to access the endpoint are straightforward, and are the same as any other network available through Infura: 

  1. Sign up with Infura (it's free)
  2. Go to the Dashboard: https://app.infura.io/dashboard
  3. Click on Create New API Key and give your project a name
  4. Use https://linea-goerli.infura.io/v3/API-KEY as an endpoint for your JSON-RPC API requests

All those steps are summarized in our Infura support article here.

Why am I getting a 404 error?

Please note: the above URL is not a website for you to browse; it is an endpoint to which requests for network data, or transaction requests, are sent by backend code.

For more information from Infura on building with Linea, see here: https://docs.infura.io/infura/networks/linea

 

Articles in this section

Was this article helpful?
2 out of 3 found this helpful
Share