ENS / Basename to address, or address to primary name ($0.003)
resolve_ensConvert ENS names or Base Basenames to wallet addresses, or reverse-resolve addresses to verified primary names on-chain via ENS Universal Resolver with CCIP-Read.
Instructions
Resolve an ENS name or a Base Basename (name.base.eth) to its address, or an address to its verified primary name, on-chain through the ENS Universal Resolver with CCIP-Read. Pass name or address. Not charged when nothing resolves (404) or the chain fails (502). No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "resolve_ens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ENS name or Basename, e.g. vitalik.eth or jesse.base.eth (use this or address) | |
| address | No | Address to reverse-resolve to its primary name (use this or name) |