82trust / 100

Chain Ens

by ENS Resolver in Onchain & crypto

x402 APIPassing, checked 13 min ago

Resolve ENS in either direction on Ethereum: an ENS name (vitalik.eth) → its 0x address, or a 0x address → its primary ENS name (plus avatar when set). The identity read wallet, payment, and UX agents make to verify who they're sending to or to show a human-readable name instead of a raw hex address. Free upstream (Blockscout ENS / live registry); one paid call instead of running your own resolver.

GET https://store.agentexchange.work/chain/ens

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
194 ms typical, 194 ms slowest 5%
Last check
13 min ago
Next check
in 18 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://store.agentexchange.work/chain/ens?name=vitalik.eth"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fstore.agentexchange.work%2Fchain%2Fens
const res = await pay("https://store.agentexchange.work/chain/ens?name=vitalik.eth");
console.log(await res.json());

Example input

{
  "name": "vitalik.eth"
}

Example output

{
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "avatar": null,
  "chain": "ethereum",
  "direction": "name->address",
  "name": "vitalik.eth",
  "query": "vitalik.eth",
  "resolved": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
13 min agoPassed402201 ms$0.005
5 h agoPassed402194 ms$0.005