# Farm Distress Mesh – Cross-Chain Gas Price & Liquidation TX Cost

> Farm Distress Mesh – Cross-Chain Gas Price & Liquidation TX Cost is a paid API for AI agents from trade-production-180b.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

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).

## Facts

- Endpoint: GET https://trade-production-180b.up.railway.app/gas
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/farm-distress-mesh-cross-chain-gas-price-liquidation-tx-cost-70938619
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6oA_f-49VwbZ2yL3M1RuV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability farm-distress-mesh-cross-chain-gas-price-liquidation-tx-cost-70938619
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Cross-chain gas intelligence: current gas price (wei + gwei) and the USD cost of a typical liquidation tx, per chain (Base, Ethereum, Arbitrum, Optimism).

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/farm-distress-mesh-cross-chain-gas-price-liquidation-tx-cost-70938619/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trade-production-180b.up.railway.app](https://www.zero.xyz/host/trade-production-180b.up.railway.app/llms.txt)
