Basename and ENS lookup: name to address, or address to its verified primary name
name_lookupResolves Basenames (name.base.eth, on Base) and ENS names (name.eth, on Ethereum) to wallet addresses, including a Base-specific address and profile records (avatar, description, url, X, GitHub). Or give an 0x address to get its primary name, verified by resolving the name back to the same address. A bare name like jesse means jesse.base.eth. Useful before sending funds to a name or labeling counterparties. Read-only. Not charged for invalid or unregistered names. Paid via x402; see list_prices.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "name_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name (jesse.base.eth, vitalik.eth, or just jesse) or an 0x address. |