{"uid":"cap_WOpuTOvwHuBzL_KKP8Y0x","slug":"kihustle-eth-gas-cost-calculator-265827da","name":"KiHustle ETH Gas Cost Calculator","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/agents/api/v1/eth-gas-cost-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gas_units":{"type":"integer"},"gwei_price":{"type":"number"},"eth_price_usd":{"type":"number"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"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_Hfw9bDh46I_WsXGVf66N3","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":"Calculates the USD cost of an Ethereum transaction given gas units, gas price in Gwei, and current ETH/USD price","exampleAgentPrompt":"How much would an Ethereum transaction cost in USD if it uses 21000 gas units at 30 Gwei, with ETH currently priced at $3200?","exampleUseCases":[{"title":"DeFi trade cost estimation","prompt":"I'm about to execute a Uniswap swap that uses about 150000 gas. Gas is currently at 45 Gwei and ETH is $3500 — how much will I pay in USD for the transaction fee?"},{"title":"Smart contract deployment budgeting","prompt":"We're deploying a smart contract that will cost roughly 2000000 gas units. Gwei price is 20 right now and ETH is at $2800 — can you tell me the USD cost so I can plan our budget?"},{"title":"Real-time gas fee dashboard","prompt":"Calculate the ETH gas fee in USD for a standard transfer of 21000 gas units at 15 Gwei with ETH at $3100, so I can display it to users on my dashboard."}],"resultDescription":"Returns a JSON object with a 'result' field containing the computed gas cost and a 'status' field confirming success. The primary output is the calculated USD cost of the Ethereum transaction derived from gas_units × gwei_price × 1e-9 × eth_price_usd.","failureModes":["Missing required fields (gas_units, gwei_price, or eth_price_usd) may result in a computation error or unexpected output","Negative or zero values for gas_units or gwei_price may produce nonsensical results","Non-numeric values passed as numbers will likely cause a 400 or processing error","Payment failure (HTTP 402) if the $0.002 USDC fee is not provided via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, on-demand computation of Ethereum transaction costs in USD and you already have gas units, Gwei price, and ETH/USD price available. It is ideal for agents building DeFi dashboards, pre-flight transaction cost checks, or budget planning tools. Prefer this over manual arithmetic or general-purpose code execution when you want a dedicated, pay-per-use microservice for this specific calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:03:01.010Z","isFirstParty":false}