Inspect Linea gas prices and block utilization instantly.
Copy a ready-to-use example and pull Linea gas metrics directly into your tooling.
curl -sS -X POST https://api-linea-mainnet-archive.n.dwellir.com/eb7baebf-d116-4163-bcfb-d1dca6c9f7ed \-H "Content-Type: application/json" \-d '{"jsonrpc":"2.0","id":1,"method":"eth_gasPrice","params":[]}'
const response = await fetch('https://api-linea-mainnet-archive.n.dwellir.com/eb7baebf-d116-4163-bcfb-d1dca6c9f7ed', {method: 'POST',headers: { 'Content-Type': 'application/json' },body: JSON.stringify({jsonrpc: '2.0',id: 1,method: 'eth_gasPrice',params: []})});const { result } = await response.json();console.log(`Gas price: ${parseInt(result, 16) / 1e9} gwei`);
import requestsDWELLIR_RPC = 'https://api-linea-mainnet-archive.n.dwellir.com/eb7baebf-d116-4163-bcfb-d1dca6c9f7ed'payload = {'jsonrpc': '2.0','id': 1,'method': 'eth_gasPrice','params': []}resp = requests.post(DWELLIR_RPC, json=payload)data = resp.json()print(f"Gas price: {int(data['result'], 16) / 1e9} gwei")
import { JsonRpcProvider } from 'ethers';const provider = new JsonRpcProvider('https://api-linea-mainnet-archive.n.dwellir.com/eb7baebf-d116-4163-bcfb-d1dca6c9f7ed');const feeData = await provider.getFeeData();console.log('Gas price', Number(feeData.gasPrice) / 1e9, 'gwei');console.log('Max priority fee', Number(feeData.maxPriorityFeePerGas) / 1e9, 'gwei');
const Web3 = require('web3');const web3 = new Web3('https://api-linea-mainnet-archive.n.dwellir.com/eb7baebf-d116-4163-bcfb-d1dca6c9f7ed');const gasPrice = await web3.eth.getGasPrice();console.log('Gas price', web3.utils.fromWei(gasPrice, 'gwei'), 'gwei');
Reference endpoints, guides, and examples.
Learn moreProvision an API key and call your first method.
Get startedDwellir runs dedicated infrastructure across leading layer-1 and layer-2 ecosystems so you can scale without switching providers.
Stay ahead of Arbitrum gas volatility with live priority fee insights.
Check Avalanche C-Chain gas prices with failover RPC coverage.
Monitor Base gas prices and block congestion in real time.
Real-time BNB Smart Chain gas data with high-throughput RPCs.
Monitor Blast gas fees and transaction pressure in real time.
Watch Celo network fees and throughput from globally distributed RPCs.
and join other leading Web3 companies using Dwellir's infrastructure
© Copyright 2025 Dwellir AB