{"uid":"cap_R4InUcNFYDjqsnFIjeSr7","slug":"beggar-bot-eip-1559-gas-fee-oracle-5d029aeb","name":"Beggar Bot EIP-1559 Gas Fee Oracle","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/gasfee?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"chain":{"type":"string","description":"base (default), optimism, ethereum, arbitrum, polygon, base-sepolia"},"tx_bytes":{"type":"string","description":"optional tx size for L1 fee"},"gas_limit":{"type":"string","description":"optional custom gas limit"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.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_KR0G_fdOMvNNbWMmp0l8n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current EIP-1559 gas fee estimates (base fee, slow/standard/fast tiers, priority fees, congestion level) and USD-denominated cost presets for common transaction types across Base, Ethereum, Optimism, Arbitrum, and Polygon.","exampleAgentPrompt":"Before I send this swap transaction on Arbitrum, check the current gas fees and tell me the standard maxFeePerGas and priority fee I should use, and how much it'll cost in USD.","exampleUseCases":[{"title":"Pre-flight gas check for DeFi swap","prompt":"I'm about to execute a Uniswap swap on Ethereum mainnet — what are the current slow, standard, and fast gas fee options in gwei, and what's the estimated USD cost for the swap?"},{"title":"OP-stack L1 fee budgeting on Optimism","prompt":"I need to estimate the L1 data fee for a transaction on Optimism that's about 200 bytes — can you get me the current gas oracle data including the OP-stack L1 fee upper bound?"},{"title":"Network congestion check before Safe execution","prompt":"Check the current gas fees on Base and tell me whether the network is congested right now — I also want to know the USD cost to execute a Safe multisig transaction at the standard fee tier."}],"resultDescription":"A JSON object containing the predicted next base fee, slow/standard/fast maxFeePerGas and maxPriorityFeePerGas values derived from feeHistory percentiles, a congestion indicator, an OP-stack L1 data fee upper bound (where applicable), and USD-denominated cost estimates for common transaction presets (ETH transfer, ERC-20 transfer, USDC EIP-3009, swap, Safe exec) or a custom gas_limit.","failureModes":["Unsupported chain name returns an error or defaults to Base","Missing or malformed gas_limit/tx_bytes parameters may omit custom cost estimates","RPC backend unavailability may return a 5xx error or stale data","Very high network volatility may cause estimates to lag real mempool conditions"],"whenToPreferThis":"Use this endpoint when an AI agent needs to determine appropriate EIP-1559 gas parameters before submitting any EVM transaction, especially when USD cost budgeting matters or when targeting OP-stack chains that have an additional L1 data fee component. Prefer this over generic RPC eth_gasPrice calls when you need multi-tier fee recommendations, congestion signals, and pre-computed USD costs for standard transaction types in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:16.734Z","isFirstParty":false,"canonicalSlug":"beggar-bot-eip-1559-gas-fee-oracle-5d029aeb"}