{"uid":"cap_sm-06CXwo0cmVJ5njb3Di","slug":"base-gas-fee-quote-d7d14726","name":"Base Gas Fee Quote","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/gas-fee-quote","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","required":["gas_limit"],"properties":{"gas_limit":{"type":"string","pattern":"^[0-9]+$","description":"Expected transaction gas limit."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"base-gas-fee-quote","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"gas_limit":"200000"}}},"response":{"fees":{"base_fee_wei":"5000000","base_fee_gwei":"0.005","gas_price_wei":"7216118","gas_price_gwei":"0.007216118","priority_fee_wei":"2224187","priority_fee_gwei":"0.002224187"},"network":"eip155:8453","product":"base-gas-fee-quote","gas_limit":"200000","fetched_at":"2026-07-01T04:12:15.127Z","provenance":{"block_tag":"latest","rpc_providers":["https://base.blockscout.com/api/eth-rpc","https://mainnet.base.org","https://base-rpc.publicnode.com"]},"limitations":["The estimate uses the supplied gas limit and current gas price, not transaction simulation.","Fees can change before a transaction is submitted or included."],"block_number":48044893,"estimated_cost":{"eth":"0.0000014432236","wei":"1443223600000"},"schema_version":"1.0","block_utilization_percent":4.9831}},"exampleRequest":{"gas_limit":"200000"},"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p73QZnyurvwOR4b0sBDUN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a current gas fee quote for a given transaction gas limit on the Base (EIP-155:8453) network, including risk assessment flags and risk score.","exampleAgentPrompt":"Before I submit this transaction, can you get me a gas fee quote on the Base network for a gas limit of 200000 and let me know if there are any risk flags?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the network identifier (eip155:8453), product name (base-gas-fee-quote), and an assessment object with a risk_score, risk_level (e.g. 'low'), and any risk flags. Allows agents to understand current gas costs and risk profile before committing to a Base transaction.","failureModes":["Missing or invalid gas_limit parameter (non-numeric string) returns a validation error","Network congestion or RPC unavailability may cause timeouts or stale quotes","Payment of $0.003 USDC not fulfilled causes 402 Payment Required response","gas_limit of 0 or extremely large values may return unexpected results or errors"],"whenToPreferThis":"Use this endpoint when an agent needs a real-time gas fee estimate with integrated risk assessment specifically for the Base (EIP-155:8453) network before executing or signing a transaction. Prefer this over generic gas estimators when you need machine-readable risk flags and a structured preflight safety check in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:39:54.460Z","isFirstParty":false}