{"uid":"cap_4rsZ0vA9vb9v018aKvL6o","slug":"xerxes-ethereum-gas-price-eth-gasprice-08b35836","name":"Xerxes Ethereum Gas Price (eth_gasPrice)","description":"Returns the current gas price on the Ethereum network. No inputs. Output: gas price in wei as a hex string.","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/rpc_read_eth_gasprice?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"hex":{"type":["string","null"]},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"integer"},"service":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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_W3tP0NxS2n-iBqy7zUsFB","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 the current Ethereum network gas price in wei by calling eth_gasPrice, with no input parameters required.","exampleAgentPrompt":"What's the current Ethereum gas price in wei right now?","exampleUseCases":[{"title":"Pre-transaction gas fee check","prompt":"Before I send this Ethereum transaction, can you check what the current gas price is so I can estimate how much it'll cost me?"},{"title":"DeFi bot gas monitoring","prompt":"I need to know the current Ethereum gas price in wei — my bot only executes trades when gas is below a certain threshold."},{"title":"Gas price dashboard refresh","prompt":"Pull the latest Ethereum gas price from the network so I can update my dashboard with the current wei value."}],"resultDescription":"Returns a JSON object with an 'ok' boolean, the current gas price as an integer (in wei) in the 'result' field, a hex-encoded representation in 'hex', the 'chain' identifier (e.g. 'ethereum'), and the 'method' name ('eth_gasPrice'). On failure, 'ok' is false and an 'error' string is present.","failureModes":["Network or RPC node unavailability returns ok:false with an error message","Rate limiting or payment failure may result in a 402 or error response","Temporary Ethereum node sync issues may return stale or null hex values"],"whenToPreferThis":"Use this endpoint when you need a quick, no-parameter lookup of the current Ethereum mainnet gas price in wei — ideal for pre-transaction cost estimation, gas threshold monitoring, or displaying real-time fee data. Prefer this over more complex RPC wrappers when you only need the raw gas price without any address or block context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:46:15.369Z","isFirstParty":false,"canonicalSlug":"xerxes-ethereum-gas-price-eth-gasprice-08b35836"}