{"uid":"cap_u6_Ro9II4GsdflWZWc947","slug":"base-gas-price-5a09d4b3","name":"Base Gas Price","description":"Base chain eth_gasPrice in wei and gwei. No parameters.","url":"https://earn-pulse.haiqingm58.workers.dev/gas","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":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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_1RgIbSNMtghxxOZaSzkdC","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 Base chain gas price in both wei and gwei via eth_gasPrice","exampleAgentPrompt":"What's the current gas price on Base right now — give me both the wei and gwei values so I can decide whether to submit my transaction.","exampleUseCases":[{"title":"Pre-transaction gas check","prompt":"Before I send this Base transaction, can you check the current gas price on Base in gwei so I know if fees are reasonable right now?"},{"title":"Gas cost monitoring for DeFi bot","prompt":"Keep an eye on Base gas prices and tell me when the gwei drops below 0.05 so I can time my on-chain interactions cheaply."},{"title":"Base vs other chain fee comparison","prompt":"What's the current gas price on Base in gwei? I want to compare it against Ethereum mainnet to decide which chain to use for my contract call."}],"resultDescription":"Returns the current Base chain gas price as reported by eth_gasPrice, expressed in both wei (raw integer) and gwei (human-readable decimal). No parameters required.","failureModes":["Base RPC node unavailable — returns 5xx error","Payment not included or invalid — returns 402 Payment Required","Rate limiting — returns 429 Too Many Requests","Upstream eth_gasPrice call fails — may return stale or error response"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-parameter lookup of Base chain gas prices in both wei and gwei. Ideal for agents automating Base transactions who need to check fee conditions before submitting. Prefer this over general blockchain APIs if you specifically need Base L2 gas data at low cost ($0.005 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:35.080Z","isFirstParty":false}