# AmanChain ENS Resolver

> AmanChain ENS Resolver is a paid API for AI agents from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai, paid per call via x402, $0.002488/call, status unknown (last checked 2026-09-14).

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

## Facts

- Endpoint: POST https://preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/api/x402/aman-ens-resolve
- Price: $0.002488/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-ens-resolver-acef6a8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Vi33Gy65lzJcL-6VvQm2

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-acef6a8d -d '<json body>'
```

Example prompt: What Ethereum address does vitalik.eth resolve to? Use live on-chain state to look it up.

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-account ENS resolution against live on-chain state without setting up API keys. Ideal for agents needing trustless, deterministic ENS lookups settled in USDC on Base via x402 protocol.

## Known failure modes

- ENS name does not exist or is unregistered — returns null or error
- ENS name has no address record set — resolves but returns empty
- Reverse lookup finds no ENS name for address — empty result
- Invalid input format (malformed ENS name or address) — validation error
- Payment failure via x402 — call not executed
- Network or node unavailability — service timeout

## 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 (reverse lookup), sourced deterministically from live on-chain state.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-ens-resolver-acef6a8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai](https://www.zero.xyz/host/preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/llms.txt)
