{"uid":"cap_2B7DrQD8zunYyvDd4ecMM","slug":"beggar-bot-gas-compare-base-mainnet-785c8bf8","name":"Beggar Bot Gas Compare (Base mainnet)","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/gascompare?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":{"gas":{"type":"string","description":"gas units (default 21000)"},"chains":{"type":"string","description":"comma list (default all 5)"}}}},"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_NHtGX9juz-PhHL_6KhqIc","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":"Compares estimated gas costs in USDC across multiple EVM chains for a given number of gas units","exampleAgentPrompt":"Compare current gas costs across all supported EVM chains for a standard 21000 gas unit transfer — show me which chain is cheapest right now.","exampleUseCases":[{"title":"Cheapest chain for token transfer","prompt":"I need to send some tokens and want to minimize gas fees — can you compare gas costs across all supported chains right now for a standard 21000 gas unit transaction and tell me which is cheapest?"},{"title":"Custom gas unit cost comparison","prompt":"Compare gas costs across Base, Optimism, and Arbitrum for a 150000 gas operation — I'm deploying a contract and want to pick the cheapest chain."},{"title":"DeFi routing cost analysis","prompt":"What are the current gas fees across all supported chains for a 65000 gas unit swap? I want to know which chain would save me the most on fees before I execute."}],"resultDescription":"A JSON object containing gas cost estimates per chain, expressed in USDC or native currency, for the requested number of gas units. Includes a breakdown by chain (up to 5 by default) so the caller can directly compare which network is cheapest at the current moment.","failureModes":["Invalid chain name in 'chains' parameter returns error or is ignored","Non-numeric value for 'gas' parameter may return 400 or default to 21000","Payment failure via x402 if USDC balance is insufficient (costs $0.02 per call)","Rate limiting or worker timeout if upstream RPC nodes are slow","Empty or malformed response if all chain RPC endpoints are unreachable"],"whenToPreferThis":"Use this endpoint when you need a real-time, multi-chain gas fee comparison in a single call, priced in USDC, without having to query each chain's RPC individually. Best for agents making on-chain routing decisions, DeFi workflows, or helping users pick the cheapest chain for a transaction. Prefer over manual RPC polling when you want a normalized, side-by-side comparison.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:43:45.620Z","isFirstParty":false,"canonicalSlug":"beggar-bot-gas-compare-base-mainnet-785c8bf8"}