# DDG Optimism RPC Endpoint

> DDG Optimism RPC Endpoint 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).

Proxies JSON-RPC calls to the Optimism blockchain network for $0.01 USDC per call via x402 micropayment protocol

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/chains/optimism/rpc?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-rpc-endpoint-67d1d7f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AmjADwQ_uH1wvkCY0ahVY

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-rpc-endpoint-67d1d7f2 -d '<json body>'
```

Example prompt: Send an eth_blockNumber JSON-RPC call to the Optimism network and tell me the latest block number — pay the $0.01 USDC fee automatically via x402.

## When to prefer this

Choose this endpoint when your agent needs to interact with the Optimism L2 blockchain via standard JSON-RPC and can pay per-call using USDC via the x402 micropayment protocol — particularly useful for agents without a fixed RPC subscription or those needing on-demand Optimism access billed per query.

## Known failure modes

- Invalid JSON-RPC method returns error object with code and message
- Payment failure via x402 results in 402 Payment Required before the RPC call is made
- Malformed request body returns 400 Bad Request
- Optimism node unavailability or timeout returns 503 or connection error
- Insufficient USDC balance for micropayment blocks the request
- Invalid or unsupported RPC params return JSON-RPC error code -32602

## How this service works

DDG agent-payable service request

## Output

Returns a standard JSON-RPC response from the Optimism node, including result data (block info, balance, contract return values, transaction hash, etc.) or an error object if the call fails. Response format follows Ethereum JSON-RPC spec with id, jsonrpc, and result or error fields.

## 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-rpc-endpoint-67d1d7f2/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)
