{"uid":"cap_y0_hBb8PMLH4xMQBW16b3","slug":"gas-optimizer-bundled-workflow-66fcfa5a","name":"Gas Optimizer Bundled Workflow","description":"Bundled execution of the Gas optimizer workflow - Find the cheapest gas right now: Base gas, Ethereum gas, Base fee estimate, and ETH price for USD conversion. One x402 payment runs 3 underlying tools (gas-snapshot, gas-estimate, crypto-price); partial-success per step.","url":"https://agent402.tools/api/skill/gas-optimizer","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["pack","args","steps","summary"],"properties":{"args":{"type":"object"},"pack":{"type":"string"},"steps":{"type":"array","items":{"type":"object","properties":{"ok":{"type":"boolean"},"slug":{"type":"string"},"result":{"type":"object"}}}},"summary":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"args":{},"pack":"gas-optimizer","steps":[{"ok":true,"slug":"gas-snapshot","result":{}},{"ok":true,"slug":"gas-estimate","result":{}},{"ok":true,"slug":"crypto-price","result":{}}],"summary":"3/3 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qR4-Iw99ZUhoPgEUDQmy1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a bundled gas optimization workflow in one call: fetches Base gas, Ethereum gas, Base fee estimate, and ETH/USD price — all for a single x402 payment.","exampleAgentPrompt":"What's the cheapest gas right now? Give me current Base gas, Ethereum gas, the Base fee estimate, and the ETH price in USD so I can figure out transaction costs.","exampleUseCases":null,"resultDescription":"A bundled response containing: current Base network gas price, Ethereum network gas price, Base fee estimate, and current ETH/USD price — aggregating results from gas-snapshot, gas-estimate, and crypto-price tools in a single call.","failureModes":["x402 payment fails or wallet has insufficient USDC — payment error returned","one or more underlying tools (gas-snapshot, gas-estimate, crypto-price) fails — partial or error response","network timeout fetching live gas or price data — transient error","invalid request body format — 400 bad request"],"whenToPreferThis":"Use this endpoint when you need a comprehensive, real-time gas overview across both Base and Ethereum networks in a single API call with one payment, rather than making three separate tool calls. Ideal for agents that need to compute transaction costs and USD equivalents together without orchestrating multiple requests.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:15:30.230Z","isFirstParty":false}