{"uid":"cap_2S4B2aLWKf2eUdVIPlQIf","slug":"straelo-relay-evm-gas-price-lookup-adf34f4f","name":"Straelo Relay EVM Gas Price Lookup","description":"Retrieve the current gas price for Ethereum or Base for transaction planning. Returns wei and gwei from a single `eth_gasPrice` JSON-RPC call; live network result may change between calls and does not estimate total transaction cost, submit a transaction, or provide execution authorization. USE WHEN: an agent needs the current EVM gas price before estimating fees or preparing a transaction. DO NOT USE WHEN: the agent needs to inspect an existing transaction by hash (use","url":"https://relay.straelo.com/evm-gas-price-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["ethereum","base"],"type":"string","description":"EVM network to query for the current gas price."}}},"responseSchema":{"type":"json","example":{"chain":"base","observed_at":"2026-01-01T00:00:00Z","gas_price_wei":"1000000000","gas_price_gwei":"1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KJSdPpF3BDxlaqp1HLf3N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the current gas price (in wei and gwei) for Ethereum or Base via a single eth_gasPrice JSON-RPC call, for use in fee estimation before preparing a transaction.","exampleAgentPrompt":"What's the current gas price on Base right now in gwei? I need it before I prepare my transaction.","exampleUseCases":[{"title":"Pre-transaction fee check on Ethereum","prompt":"Before I submit this Ethereum transfer, can you check the current gas price in gwei so I can estimate my fees?"},{"title":"DeFi swap cost estimation on Base","prompt":"I'm about to do a token swap on Base — what's the current gas price in wei and gwei so I can figure out if fees are reasonable right now?"},{"title":"Automated agent gas monitoring","prompt":"Check the current gas price on Ethereum for me and let me know if it's above 30 gwei before we proceed with the transaction batch."}],"resultDescription":"Returns the current gas price from the live network as both a wei value (raw integer) and a gwei value (human-readable float), sourced from a single eth_gasPrice JSON-RPC call. The result reflects the network state at the moment of the call and may change between consecutive calls.","failureModes":["Unsupported chain value other than 'ethereum' or 'base' returns a validation error","Network connectivity issues with the underlying RPC node return a service error","Gas price may be stale by milliseconds between retrieval and use due to live network fluctuations","Does not return total transaction cost — only the base gas price unit"],"whenToPreferThis":"Use this endpoint when an agent needs the current EVM gas price in wei or gwei for Ethereum or Base, specifically to inform fee estimation or transaction preparation — not to submit transactions, inspect existing transactions by hash, or get historical gas data. Prefer this over general-purpose RPC calls when you want a simple, paid, single-field lookup with a clean response format without managing RPC node connections yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T18:34:06.102Z","isFirstParty":false,"canonicalSlug":"straelo-relay-evm-gas-price-lookup-adf34f4f"}