# DDG Optimism Gas Price Lookup

> DDG Optimism Gas Price Lookup 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 current gas price data on the Optimism (OP Mainnet) blockchain network via a paid agent-accessible endpoint

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/chains/optimism/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-optimism-gas-price-lookup-dbeaf1df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D8xJ_qrC5DkfIx_RIruV5

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-optimism-gas-price-lookup-dbeaf1df -d '<json body>'
```

Example prompt: What's the current gas price on the Optimism network? I need to estimate transaction fees before submitting my on-chain transaction.

## When to prefer this

Use this endpoint when your agent needs real-time gas price data specifically for the Optimism (OP Mainnet) L2 network and is capable of making x402 micropayments in USDC. Prefer this over free public RPC endpoints when you need a reliable, agent-payable service without managing your own RPC node credentials.

## Known failure modes

- Network unavailability returns a non-200 error
- Payment failure (insufficient USDC balance) blocks the request
- Malformed request body returns a validation error
- Optimism RPC node downtime may cause stale or missing data
- Rate limiting if called too frequently

## 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 current gas price data for the Optimism (OP Mainnet) blockchain, likely including gas price in gwei or wei, possibly with fast/standard/slow tiers or base fee and priority fee breakdown, allowing agents to estimate transaction costs before execution.

## 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-optimism-gas-price-lookup-dbeaf1df/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)
