# Lotus Network Gas Decision Audit

> Lotus Network Gas Decision Audit is a paid API for AI agents from lotusnetworkapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Retrieves the audited outcome of a previously recorded gas-price decision, comparing the original forecast against actual on-chain base fee to determine if the stance (execute or wait) was favourable.

## Facts

- Endpoint: GET https://lotusnetworkapi.com/api/v1/gas/audit/%7BdecisionId%7D?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lotus-network-gas-decision-audit-68bf0d03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qgXxSSwkWLORfV8V6rWF5

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 lotus-network-gas-decision-audit-68bf0d03
```

Example prompt: Can you audit gas decision 7c1f9a2b4d6e8f0a1b2c3d4e5f607182 for me — I want to know if the wait stance turned out to be the right call and whether the actual base fee landed inside the forecasted range?

## When to prefer this

Use this endpoint when you have previously called the Lotus Network gas decision recording endpoint and need to close the loop by verifying whether the chosen stance (execute or wait) was correct. It is the only endpoint that retrieves audited outcomes tied to a specific decisionId. Prefer it over the raw gas conditions endpoint when you need accountability, explanation, and historical accuracy scoring rather than current gas state.

## Known failure modes

- Unknown or invalid decisionId returns a not-found error
- Decision still pending returns status=pending with no stanceOutcome yet
- Payment failure via x402 returns 402 Payment Required
- Network or chain data unavailability may delay resolution
- Malformed decisionId format may return a validation error

## How this service works

Seven pay-per-call services on Base, settled in USDC over x402: video and image generation, transcription, PDF-to-Markdown, and an auditable gas forecasting loop. No key, no account, no subscription.

## Output

A JSON object containing the original forecast range (low, center, high in Gwei), the actual observed base fee with block number and timestamp, the recorded stance (execute or wait), whether the stance outcome was favourable/unfavourable/neutral, the percentage change in base fee over the horizon, a human-readable explanation, whether the actual fell within the forecast range, and the resolution status (resolved or pending).

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "decisionId"
     ],
     "properties": {
      "decisionId": {
       "type": "string",
       "description": "The decision_id to audit"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "actual": {
       "type": "object"
      },
      "stance": {
       "type": "string"
      },
      "status": {
       "enum": [
        "resolved",
        "pending"
       ],
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "forecast": {
       "type": "object"
      },
      "changePct": {
       "type": "number"
      },
      "decisionId": {
       "type": "string"
      },
      "explanation": {
       "type": "string"
      },
      "stanceOutcome": {
       "enum": [
        "favourable",
        "unfavourable",
        "neutral"
       ],
       "type": "string"
      },
      "rangeContainedActual": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "actual": {
   "block": 24881453,
   "observedAt": "2026-07-30T04:27:04.000Z",
   "baseFeeGwei": 0.0121
  },
  "stance": "wait",
  "status": "resolved",
  "success": true,
  "forecast": {
   "lowGwei": 0.0106,
   "highGwei": 0.0182,
   "centerGwei": 0.0139
  },
  "changePct": -14.8,
  "decisionId": "7c1f9a2b4d6e8f0a1b2c3d4e5f607182",
  "explanation": "Base fee fell 14.8% over the horizon, so waiting was cheaper than executing.",
  "stanceOutcome": "favourable",
  "rangeContainedActual": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lotus-network-gas-decision-audit-68bf0d03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lotusnetworkapi.com](https://www.zero.xyz/host/lotusnetworkapi.com/llms.txt)
