{"uid":"cap_hbQ8sllVDDNi76lv00gca","slug":"d21-gas-price-0a341ba9","name":"d21 Gas Price","description":"Gas Price ($0.002): current Base gas market read live from Base's own public JSON-RPC, not a hosted gas-oracle vendor -- legacy gas price (eth_gasPrice), EIP-1559 base fee (latest block), and a suggested priority/max fee (eth_maxPriorityFeePerGas + a computed 2x-base-fee heuristic), all in gwei, plus a plain-transfer cost estimate. Base mainnet only. Body {} or { chain: \"base\" }. Check free /v1/gas_price/availability first.","url":"https://draconic21-x402-api.onrender.com/v1/gas_price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base"],"type":"string","description":"Only 'base' is supported today; omit or pass \"base\"."}}},"responseSchema":null,"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_NRgXQ3rM_N7AI2iVoN07O","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 live Base mainnet gas prices (legacy, EIP-1559 base fee, and suggested priority/max fee) plus a plain-transfer cost estimate, all in gwei, read directly from Base's public JSON-RPC.","exampleAgentPrompt":"What are the current gas prices on Base mainnet right now — give me the legacy price, EIP-1559 base fee, and suggested max fee in gwei, plus the cost estimate for a plain ETH transfer.","exampleUseCases":[{"title":"Pre-transaction gas check","prompt":"Before I send this transaction on Base, what's the current gas price and what should I set as my max fee and priority fee in gwei?"},{"title":"Cost estimate for ETH transfer","prompt":"How much will a plain ETH transfer cost me on Base right now in gwei?"},{"title":"Gas price monitoring for timing","prompt":"Is gas cheap on Base right now? Give me the live EIP-1559 base fee and legacy gas price so I can decide whether to send my transaction now or wait."}],"resultDescription":"Returns a JSON object containing: legacy gas price (eth_gasPrice in gwei), EIP-1559 base fee from the latest block (in gwei), a suggested priority fee (eth_maxPriorityFeePerGas in gwei), a computed max fee using a 2x base fee heuristic (in gwei), and an estimated cost for a plain ETH transfer — all sourced live from Base's public JSON-RPC.","failureModes":["Base public JSON-RPC unavailable or slow — may return error or stale data","Invalid chain value (anything other than 'base') returns an error","Service cold-start latency on Render may cause timeouts","Rate limiting or payment failure returns 402 or 429"],"whenToPreferThis":"Choose this endpoint when you need real-time, multi-format gas price data specifically for Base mainnet — including both legacy and EIP-1559 fee structures — without relying on a third-party gas oracle. Ideal for agents that need to set transaction fees programmatically or estimate transfer costs before executing on-chain actions on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:47.695Z","isFirstParty":false,"canonicalSlug":"d21-gas-price-0a341ba9"}