# DDG Gas Chain Query

> DDG Gas Chain Query is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Fetches or submits gas-related blockchain chain data via a pay-per-call agent-payable HTTP endpoint on the Daedalus Development Group platform

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/chains/gas?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-gas-chain-query-0ff3c8d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2js2WuEy2BAap73amvJUH

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 ddg-gas-chain-query-0ff3c8d4 -d '<json body>'
```

Example prompt: What are the current gas prices on the DDG-supported chain — POST a JSON request to the gas endpoint and tell me what it returns.

## When to prefer this

Choose this endpoint when you need a pay-per-call, agent-native way to query blockchain gas data on the DDG platform, especially when operating in an x402 payment-enabled agent workflow where micro-payments per API call are acceptable and no subscription is needed.

## Known failure modes

- Missing required 'input' or 'output' fields returns a 400 validation error
- Invalid HTTP method (not POST/PUT/PATCH) returns a schema validation error
- Payment not included or insufficient USDC balance returns 402 Payment Required
- Malformed body or incorrect bodyType enum value causes request rejection
- Chain data unavailable or network timeout returns a 5xx server error

## How this service works

Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.

## Output

Returns a JSON object with an 'ok' boolean indicating success, along with chain gas data such as current gas prices or fee estimates for the queried blockchain network.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-gas-chain-query-0ff3c8d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
