{"uid":"cap_yhzLTFKHnKiEQs4ipTaBS","slug":"base-fee-cap-analyzer-b488aaa9","name":"Base Fee Cap Analyzer","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/base_fee_cap_analyze/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["No live inclusion probability is estimated."],"service_id":"base_fee_cap_analyze","analysis_json":"{\"base_fee_per_gas\":\"100\",\"cap_headroom\":\"20\",\"effective_gas_price\":\"100\",\"execution_fee\":\"2100000\",\"gas\":\"21000\",\"max_fee_per_gas\":\"120\",\"max_priority_fee_per_gas\":\"0\",\"mode\":\"evm_fee\",\"network_context\":{\"accepted_chain_ids\":[\"8453\",\"84532\"],\"deposit_transaction_type\":\"0x7e\",\"fee_model\":\"L2 execution plus caller-supplied L1 data/operator components\",\"protocol_family\":\"OP Stack\"},\"realized_priority_fee_per_gas\":\"0\"}","evidence_scope":"caller_supplied_data","analyzed_network":"base"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"base_fee_cap_analyze","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"de63bbd4b0d60ac237e51de0bb447f3afa0a2b9a3c8fe7e354209cb4a72b6aeb","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xngU7iAqBj6Y50H1pnOwp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes EVM transaction fee parameters (base fee, max fee cap, priority fee) for Base network transactions and returns gas cost breakdown with cap headroom and inclusion context.","exampleAgentPrompt":"Analyze my Base transaction fee parameters: base_fee_per_gas is 100 wei, max_fee_per_gas is 120 wei, max_priority_fee_per_gas is 0, and gas is 21000 — tell me the cap headroom, effective gas price, and total execution fee.","exampleUseCases":[{"title":"Pre-submission fee cap validation","prompt":"Before I submit this transaction on Base, can you check if my fee settings make sense? My max_fee_per_gas is 150 wei, base_fee_per_gas is 100 wei, max_priority_fee_per_gas is 5 wei, and I'm using 21000 gas — what's my cap headroom and total execution cost?"},{"title":"Debugging underpaid transaction","prompt":"My transaction on Base keeps getting stuck — I set max_fee_per_gas to 90 wei but I think the base fee is around 100 wei. Can you analyze these fee parameters and tell me if that's why it's not getting included?"},{"title":"Gas cost estimation for agent wallet","prompt":"I'm building an agent that sends USDC on Base and I need to know the execution fee for a standard transfer. Analyze these EVM fee params: base_fee 80 wei, max_fee 100 wei, max_priority_fee 1 wei, gas 21000, chain 8453."}],"resultDescription":"Returns a structured JSON analysis including: cap_headroom (difference between max fee and base fee), effective_gas_price, execution_fee (total in wei), realized_priority_fee_per_gas, fee mode classification, and network context describing the OP Stack chain configuration (accepted chain IDs, deposit transaction type, fee model). Also returns warnings if live inclusion probability cannot be estimated.","failureModes":["Invalid or malformed request_json yields a parsing error","Missing required fee fields in the JSON input causes incomplete analysis","Unsupported chain ID returns network context mismatch or error","max_fee_per_gas lower than base_fee_per_gas may trigger a warning about non-inclusion","Empty or too-short request_json rejected by schema minLength:2 constraint"],"whenToPreferThis":"Use this endpoint when you need to programmatically validate or decompose EVM transaction fee parameters specifically on Base (OP Stack L2) before or after submission. It is purpose-built for Base/OP Stack fee model analysis (L2 execution + L1 data components) rather than generic Ethereum mainnet gas estimators. Prefer this when you want structured cap headroom analysis, not just a raw gas price estimate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:01:44.441Z","isFirstParty":false}