Resolve ENS names and addresses
ens_resolveResolve an ENS name to an address, or an address to its forward-verified primary name — direction is detected from the input. view='profile' returns the full identity card (multichain addresses, text records, contenthash, avatar); view='avatar' dereferences the avatar to an image URL. Paid: call without x_payment to receive this call's exact terms (amount, asset, network), sign them, then call again with x_payment. The free pricing tool lists every price at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Comma-separated ENS text-record keys (view='text'). | |
| view | No | resolve = name↔address; profile/avatar/text need a name. | resolve |
| query | Yes | An ENS name (ends in .eth) or a 0x address. | |
| x_payment | No | Optional signed x402 payment payload (base64, what the X-PAYMENT header carries). Omit to receive the exact payment terms; sign them (e.g. @x402/fetch) and call again with this argument to settle and get the data. |