{"uid":"cap_6oA_f-49VwbZ2yL3M1RuV","slug":"farm-distress-mesh-cross-chain-gas-price-liquidation-tx-cost-70938619","name":"Farm Distress Mesh – Cross-Chain Gas Price & Liquidation TX Cost","description":"Cross-chain gas intelligence: current gas price (wei + gwei) and the USD cost of a typical liquidation tx, per chain (Base, Ethereum, Arbitrum, Optimism).","url":"https://trade-production-180b.up.railway.app/gas","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","properties":{}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SAGPYK_6xwVF20vghQQEa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current gas prices (in wei and gwei) and the estimated USD cost of a typical liquidation transaction for each supported chain (Base and Ethereum).","exampleAgentPrompt":"What are the current gas prices on Base and Ethereum, and how much would a typical liquidation transaction cost in USD on each chain right now?","exampleUseCases":[{"title":"Pre-liquidation gas cost check","prompt":"Before my bot tries to liquidate a position, what's the current gas price in gwei and the USD cost of a liquidation tx on Base and Ethereum — is it worth executing right now?"},{"title":"Cross-chain gas arbitrage for liquidators","prompt":"I need to decide which chain to liquidate on — can you pull the current gas prices and estimated liquidation tx costs in USD for both Base and Ethereum so I can pick the cheaper one?"},{"title":"Gas cost monitoring for DeFi dashboard","prompt":"Fetch me the latest gas prices in wei and gwei plus the dollar cost of a liquidation transaction for Base and Ethereum so I can update my liquidation dashboard."}],"resultDescription":"A structured response containing, per supported chain (Base and Ethereum): current gas price expressed in wei and gwei, plus the estimated USD cost of executing a typical liquidation transaction at current gas prices.","failureModes":["Chain data temporarily unavailable — partial response with only one chain returned","Upstream gas oracle timeout — stale or missing price data","HTTP 402 Payment Required if the $0.005 USDC per-call fee is not included","503 Service Unavailable if the Railway deployment is down"],"whenToPreferThis":"Choose this endpoint when you need real-time, cross-chain gas intelligence specifically calibrated for liquidation transaction costs, rather than generic gas trackers. It is ideal for liquidation bots and DeFi agents that need to quickly decide whether executing a liquidation on Base or Ethereum is economically viable at current gas prices, especially when used alongside the sibling distress and liquidation endpoints on the same fleet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:56.213Z","isFirstParty":false}