set_primary_name
Set the primary ENS name for a wallet address so it displays 'myname.eth' instead of the raw address. Requires wallet ownership and matching ETH record.
Instructions
Set the primary ENS name (reverse resolution) for a wallet address.
This controls what name is displayed when someone looks up your Ethereum address. For example, instead of seeing "0x1234...abcd", they'd see "myname.eth".
Requirements:
You must own or control the ENS name
The name's ETH address record must point to your wallet
Only the wallet owner can set their own primary name
If the ETH address record doesn't match, use set_ens_records first to update it.
Only one primary name per address — setting a new one replaces the previous.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ENS name to set as primary (e.g. "myname.eth") | |
| walletAddress | Yes | Wallet address to set the primary name for (must sign the transaction) |