{"uid":"cap_jwt_WlIALVaUwfzsRjUJY","slug":"x402-deployer-x402-deployer-workers-dev-6c052299","name":"Gas Oracle & EIP-1559 Fee Estimator for Base Chain","description":"Gas oracle / gas price API / EIP-1559 fee estimator / Base + Ethereum + Optimism + Arbitrum + Polygon gas tracker / etherscan-gas alternative / pre-tx cost estimator / USD gas-cost calculator / safe-low + standard + fast tier feed. Reads the chain's latest block, derives the EIP-1559 base fee, suggests priority fees for safe-low / standard / fast tiers, computes the total recommended maxFeePerGas, and converts cost to USD for common tx types (transfer, ERC-20 transfer, Uniswap swap, NFT mint).","url":"https://x402-deployer.x402-deployer.workers.dev/gas-now-base","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{"chain":{"enum":["base","ethereum","optimism","arbitrum","polygon"],"type":"string","description":"EVM L1/L2 to read gas from. Default 'base'."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"chain":{"type":"string"},"cost_usd":{"type":"object","properties":{"nft_mint":{"type":"number"},"transfer":{"type":"number"},"uniswap_swap":{"type":"number"},"erc20_transfer":{"type":"number"}}},"timestamp":{"type":"string"},"block_number":{"type":"integer"},"base_fee_gwei":{"type":"number"},"eth_price_usd":{"type":"integer"},"priority_fee_gwei":{"type":"object","properties":{"fast":{"type":"number"},"safe_low":{"type":"number"},"standard":{"type":"number"}}},"total_recommended_gwei":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_P5IIHM5B8EzeD0lZm-our","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads the latest Base chain block, derives EIP-1559 base fee, suggests priority fees for safe-low/standard/fast tiers, and converts gas costs to USD for common transaction types.","exampleAgentPrompt":"What are the current gas fees on Base right now — give me the safe-low, standard, and fast tiers in gwei and also tell me how much a Uniswap swap would cost in USD at the standard tier?","exampleUseCases":null,"resultDescription":"Returns the current EIP-1559 base fee from the latest Base block, recommended priority fees and maxFeePerGas values for safe-low, standard, and fast tiers, and USD cost estimates for common transaction types including ETH transfer, ERC-20 transfer, Uniswap swap, and NFT mint.","failureModes":["RPC node unavailable or rate-limited — upstream fetch failure","Stale block data if Base RPC is lagging","USD price feed unavailable — ETH/USD conversion may fail","Malformed POST body — validation error","Network timeout from Cloudflare Worker to Base RPC"],"whenToPreferThis":"Use this endpoint when you need real-time EIP-1559 gas fee estimates specifically for the Base chain, including USD cost breakdowns for common transaction types, without needing a full Etherscan API key or running your own node. Ideal for pre-transaction cost checks in DeFi agents operating on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:46:56.618Z","isFirstParty":false}