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:
- Sign up with Infura (it's free)
- Go to the Dashboard: https://app.infura.io/dashboard
- Click on Create New API Key and give your project a name
- 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