{"uid":"cap_5koLu7R9wiNwDRhozX8V3","slug":"agent402-tools-gas-price-estimator-a77ba31f","name":"agent402.tools Gas Price Estimator","description":"Current gas price (gwei and wei) on Base, Polygon, Arbitrum, Optimism, Ethereum, Monad, Celo, Avalanche, Sei, or Robinhood Chain - for an agent budgeting a transaction. Read-only. ?network=base","url":"https://agent402.tools/api/gas-estimate","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"],"type":"string"},"queryParams":{"type":"object","properties":{"network":{"type":"string","description":"chain: base | polygon | arbitrum | optimism | ethereum | monad | celo | avalanche | sei | robinhood (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["network","gasPriceGwei","gasPriceWei"],"properties":{"network":{"type":"string"},"gasPriceWei":{"type":"string"},"gasPriceGwei":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"network":"base","gasPriceWei":"5100000","gasPriceGwei":"0.0051"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_geXwhsrSdInooIynhxvbt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current gas price in gwei and wei for a specified EVM blockchain network (Base, Polygon, Arbitrum, Optimism, or Ethereum)","exampleAgentPrompt":"Before I submit this transaction, can you check the current gas price on Arbitrum so I know how much to budget?","exampleUseCases":null,"resultDescription":"Returns the current gas price for the requested EVM network expressed in both gwei (human-readable) and wei (machine-precision), along with the network name. This gives an agent everything it needs to estimate transaction costs before committing to an on-chain operation.","failureModes":["Invalid or unsupported network name returns an error — only base, polygon, arbitrum, optimism, ethereum are accepted","Network RPC unavailable may cause a timeout or upstream error","Payment failure (x402) if the 0.002 USDC fee is not supplied correctly"],"whenToPreferThis":"Use this endpoint when an agent needs to budget or gate a blockchain transaction by checking real-time gas prices before submission. Ideal for any workflow that involves EVM-compatible chains (Base, Polygon, Arbitrum, Optimism, Ethereum) where cost estimation is required before executing a smart contract call or token transfer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:06.453Z","isFirstParty":false}