# Delx ABI Type Index

> Delx ABI Type Index is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Indexes ABI type strings by frequency to assist with encoding planning, running locally and statically without any live RPC or blockchain call.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/abi-type-index
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-abi-type-index-99ef9cd8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GbyexDL2ZS3YWRMmkCQ6-

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 delx-abi-type-index-99ef9cd8 -d '<json body>'
```

Example prompt: Can you index the ABI types from this list — address, uint256, bytes32, bool, uint256, address — and give me a frequency breakdown so I can plan my encoding?

## When to prefer this

Choose this endpoint when you need a static, deterministic, zero-RPC frequency analysis of ABI type strings — ideal for encoding planning, schema hygiene, or pre-flight validation pipelines where live chain access is unnecessary or undesirable. Prefer it over on-chain or RPC-adjacent tools when cost, privacy, or reproducibility are priorities.

## Known failure modes

- Empty or missing types array returns an error or empty index
- Invalid ABI type strings may be counted as-is or flagged
- Malformed input JSON returns a 400-level error
- Payment failure via x402 returns 402 with payment details required

## How this service works

Index ABI type frequency for planning encodings without performing eth_call — call when indexing ABI type frequency before encoding. Use for chain input hygiene without live RPC—adjacent to OneSource-class small chain reads, but static/local only so rights and margin stay clear. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, w…

## Output

Returns a deterministic machine-readable JSON object mapping each ABI type string to its frequency count within the submitted list, enabling encoding planning and chain input hygiene without any live RPC call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "types": {
   "type": "array",
   "description": "ABI type strings to index (e.g. address, uint256)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "index": [
   {
    "type": "address",
    "count": 2
   },
   {
    "type": "uint256",
    "count": 1
   },
   {
    "type": "bytes",
    "count": 1
   }
  ],
  "schema": "delx/util-abi-type-index/v1",
  "advisory": "Index only; does not encode or eth_call.",
  "type_count": 4,
  "unique_types": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-abi-type-index-99ef9cd8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
