chain_ens
[Trading Data API] ENS lookup on Ethereum mainnet in either direction: name to address, or address to primary name.
Example: /v1/chain-ens?name=vitalik.eth
Use when you need to resolve an ENS name to an address, or an address to its primary ENS name. Not for non-ENS lookups.
Behavior: read-only. Priced via x402 (USDC on Base) or free with WICKEDAPI_API_KEY; with neither, you get HTTP 402 with the decoded price in payment_required (a price quote, not a failure).
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": "chain_ens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Optional. An ENS name to resolve (e.g. vitalik.eth). Either name or address is required. | |
| address | No | Optional. An address to reverse-resolve to its primary ENS name. |