{"uid":"cap_BVy0nshCzoWDp2cj2FJhy","slug":"x402-professorsausages-com-gas-oracle-transaction-cost-estimator-85d09951","name":"x402.professorsausages.com Gas Oracle Transaction Cost Estimator","description":"USD cost of a specific tx incl. OP-stack L1 data fee","url":"https://x402.professorsausages.com/gas-oracle/:chain/estimate","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rAdi4btd1_f5IJ9rdJCLi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates the total USD cost of a specific transaction on a given chain, including OP-stack L1 data fee breakdown","exampleAgentPrompt":"What will it cost in USD to execute this transaction on Base at standard speed — including the OP-stack L1 data fee? Give me a full breakdown of execution cost versus L1 calldata fee.","exampleUseCases":null,"resultDescription":"Returns a structured object with the chain name, block number, gas used, speed tier, execution cost (L2 native + USD), L1 data fee (for OP-stack chains, or null otherwise), total fees in native and USD, and a comparable Ethereum cost for reference, along with a fetchedAt timestamp.","failureModes":["Unsupported chain identifier returns an error or empty response","Missing or malformed transaction input causes validation failure","Chain is not an OP-stack chain, so l1DataFee is null (not an error, but callers expecting it may be surprised)","Network congestion or RPC unavailability may cause stale or failed fetch","Incorrect speed enum value (not slow/standard/fast) may cause parameter rejection"],"whenToPreferThis":"Use this endpoint when you need a full USD cost breakdown for a specific transaction on an OP-stack chain (e.g. Optimism, Base), especially when the L1 calldata fee component matters — such as for cost modeling, fee transparency, or smart contract interaction budgeting. Prefer this over the current gas market endpoint when you have a specific transaction to price rather than just wanting the current gas market rates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:42:40.641Z","isFirstParty":false}