ENS lookup: name to address with profile records, or address to verified primary name
onchain_ensUse when an agent must send funds to an ENS name or label a wallet. Input: name (e.g. ens.eth, ENSIP-15 normalized) or address. Output: JSON resolve: address, resolver, avatar/url/description/twitter/github records, contenthash (name+address: matchesExpected); reverse: primary name only if forward-verified. Ethereum mainnet registry; wildcard/offchain resolvers not followed. Example: ?name=ens.eth Price: $0.005 USDC (Base or Solana) via x402.
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": "onchain_ens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ENS name to resolve (normalized with ENSIP-15; invalid → 400 before payment, not charged) | |
| address | No | Alone: reverse lookup (primary name). With name: also check the name resolves to this address (matchesExpected) |