{"uid":"cap_5XiheZXaizAS5hrAIS4ay","slug":"api-x402node-dev-12cf2534","name":"Ethereum Mainnet Gas Price & Base Fee","description":"Ethereum mainnet current gas price (gwei) via LlamaRPC eth_gasPrice plus latest block base fee. Use no params. Built for AI agents timing on-chain ops, contract deployment cost estimation, ethereum gas fee estimate Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/chain/eth-gas","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xxC2kujKIjE-YigSDvVaA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current Ethereum mainnet gas price in gwei and the latest block base fee via LlamaRPC eth_gasPrice","exampleAgentPrompt":"What's the current Ethereum mainnet gas price in gwei right now, including the latest block base fee? I want to decide whether to deploy my smart contract now or wait for cheaper gas.","exampleUseCases":null,"resultDescription":"Returns the current Ethereum mainnet gas price in gwei (from eth_gasPrice) and the latest block's base fee, enabling cost estimation for transactions and contract deployments on Ethereum mainnet.","failureModes":["LlamaRPC upstream unavailable — service returns error or stale data","Network congestion causing delayed response","Payment of $0.005 USDC not fulfilled — 402 payment required error","Returned base fee may be slightly stale if latest block not yet propagated"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time Ethereum mainnet gas price data to time on-chain operations, estimate transaction or contract deployment costs, or decide whether current gas conditions are favorable. Prefer over Ethereum-specific alternatives when no API key is available and a simple gwei + base fee response is sufficient. For Base L2 gas pricing, use the sibling Base gas endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:51.186Z","isFirstParty":false}