Resolve an ENS name or address, with its text records
ensENS on Ethereum mainnet. A name (vitalik.eth) resolves to its address, and an address resolves to its primary name, accepted only when that name resolves back to the same address. Returns the avatar and the url, com.twitter, com.github, description and email text records when set. A name that is not registered returns 200 with address null. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": "ens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ENS name, e.g. vitalik.eth | |
| address | No | Or an address, 0x… |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| input | No | ||
| avatar | No | ||
| address | No | ||
| records | No | ||
| sources | No | ||
| resolver | No | ||
| checkedAt | No | ||
| disclaimer | No | ||
| registered | No | ||
| primaryName | No |