Try Linea Endpoints
HTTPS
https://api-linea-mainnet-archive.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f
WSS
wss://api-linea-mainnet-archive.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f
Quick Start
BASH
curl -sS -X POST https://api-linea-mainnet-archive.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f \-H 'Content-Type: application/json' \-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
JAVASCRIPT
import { JsonRpcProvider } from 'ethers';const provider = new JsonRpcProvider('https://api-linea-mainnet-archive.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f');const latest = await provider.getBlockNumber();console.log('block', latest);
PYTHON
import requestsurl = 'https://api-linea-mainnet-archive.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f'payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'eth_blockNumber', 'params': [] }resp = requests.post(url, json=payload)print(resp.json())
GO
package mainimport ("bytes""fmt""net/http""io/ioutil")func main() {url := "https://api-linea-mainnet-archive.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f"payload := []byte("{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"eth_blockNumber\",\"params\":[]}")resp, err := http.Post(url, "application/json", bytes.NewBuffer(payload))if err != nil { panic(err) }defer resp.Body.Close()body, _ := ioutil.ReadAll(resp.Body)fmt.Println(string(body))}
Linea is a zkEVM L2 network designed to optimize Ethereum's execution capabilities while participating in its security mechanisms. It offers a high-performance environment for transactions, smart contract deployment, and NFT minting. Linea uses advanced zero-knowledge cryptography to efficiently validate activities without overwhelming Ethereum's network, ensuring fast and cost-effective operations. The network includes key components like Sequencer, Prover, and Bridge Relayer, working together to enhance Ethereum's scalability and efficiency.
Pricing
How many calls do you make per month?
/ month
Growth
$299
/month
- 500 Responses /sec
- Dedicated Account Manager
150,000,000 responses ≈ 150.0M • Base $299 + Overages $0
Developer Resources
FAQs
What is Linea?
How does Linea improve Ethereum's scalability?
What are the key components of Linea?
Is Linea secure?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure