# AmanChain ENS Resolver

> AmanChain ENS Resolver is a paid API for AI agents from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai, paid per call via x402, $0.00311/call, status unknown (last checked 2026-09-15).

Resolves ENS names to their Ethereum addresses (and reverse) against live on-chain consensus state, paid per call via x402 in USDC.

## Facts

- Endpoint: POST https://preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/api/x402/aman-ens-resolve
- Price: $0.00311/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-ens-resolver-09321e94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_95LmyyKIlSAKO29pC0izm

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 amanchain-ens-resolver-09321e94 -d '<json body>'
```

Example prompt: Can you resolve vitalik.eth to its current Ethereum wallet address using the AmanChain ENS resolver?

## When to prefer this

Choose this endpoint when you need a deterministic, live on-chain ENS resolution (forward or reverse) without requiring an API key or account setup. It is ideal for agents that need wallet address resolution in payment flows, identity verification, or data enrichment pipelines, and that can pay per call via x402 in USDC on Base.

## Known failure modes

- ENS name not registered or has no resolver set — returns null or error
- Reverse record not configured for an Ethereum address — no ENS name returned
- Invalid ENS name format — input validation error
- Network or node unavailability — HTTP 5xx or timeout
- x402 payment failure — call not processed if USDC payment cannot be settled
- Expired or stale ENS record — resolved address may have changed on-chain

## How this service works

ENS Resolve: resolve any ENS name to its address (and reverse) Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-ens-resolve","request":"<input>"}. No account, no API key.

## Output

Returns the resolved Ethereum address for a given ENS name, or the ENS name for a given Ethereum address, sourced from live on-chain consensus state via the AmanChain node.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "request": {
       "type": "string",
       "description": "service input (see body example)"
      },
      "serviceId": {
       "type": "string",
       "description": "the service id, \"aman-ens-resolve\""
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-ens-resolver-09321e94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai](https://www.zero.xyz/host/preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/llms.txt)
