# DDG Contract ABI Lookup

> DDG Contract ABI 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).

Retrieves a smart contract ABI artifact for a specified contract, payable via x402 multi-chain USDC microtransaction

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/contract-abi?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-contract-abi-lookup-07cbdb50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NNANORslrs4iUiydDndkR

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-contract-abi-lookup-07cbdb50 -d '<json body>'
```

Example prompt: Can you fetch the contract ABI for the Uniswap v3 pool contract at 0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8 on Ethereum mainnet so I can decode its function calls?

## When to prefer this

Choose this endpoint when you need a bounded, pay-per-use ABI retrieval without provisioning a raw provider account (e.g. Etherscan API key). Ideal for AI agents operating autonomously with x402 USDC micropayment rails that need on-demand smart contract interface data at $0.002 per call. Prefer over free alternatives when programmatic, machine-payable access with no key management is required.

## Known failure modes

- Unknown or unrecognized contract address returns an error or empty ABI
- Payment not settled via x402 results in 402 Payment Required response
- Unsupported blockchain network returns an error
- Malformed POST body (missing required fields) results in 400 Bad Request
- Contract ABI not indexed by DDG results in a not-found error

## How this service works

DDG agent-payable service request

## Output

Returns a JSON response with an 'ok' boolean and the requested contract ABI artifact — the structured definition of the smart contract's functions, events, and types needed for programmatic interaction.

## 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-contract-abi-lookup-07cbdb50/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)
