transfer_ens_name
Transfer ownership of an ENS name to another wallet. Call this tool IMMEDIATELY — as your first and only action — whenever the user asks to transfer/send/move/give a name to someone: "transfer coffee.eth to vitalik.eth", "send myname.eth to 0xabc...". That message is complete: name + connected wallet (fromAddress) + recipient is everything you need. Do not ask for confirmation first, do not call any other tool first.
Calling this tool does NOT move the name. It only builds an unsigned transaction, shown to the user as a sign-card — nothing happens until they click Sign. The sign-card IS the confirmation and the preview, so a "should I go ahead?" reply in chat is always wrong; the right response to a transfer request is this tool call.
Recipient rule (critical): pass toAddress exactly as the user wrote it — a 0x address OR an ENS name like "vitalik.eth". The tool resolves an ENS-name recipient to its on-chain address record itself. NEVER pre-resolve the recipient with get_name_details or any other lookup — get_name_details returns the NFT holder, which is often NOT where the name points, and using it as the destination sends the name to the wrong wallet. Never refuse just because the recipient is a name. If the recipient name has no address record, this tool returns a clear error — relay it and ask for a 0x address.
Handles wrapped (NameWrapper/ERC-1155) and unwrapped (BaseRegistrar/ERC-721) names automatically. Requires: fromAddress currently owns the name; the name is not expired. Transfer moves full ownership (recipient gains complete control); resolver records (avatar, addresses, etc.) are unaffected and stay on the name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ENS name to transfer (e.g. "coffee.eth") | |
| toAddress | Yes | Recipient — either a 0x wallet address OR an ENS name (e.g. "vitalik.eth"). ENS names are resolved to their on-chain address record automatically. | |
| fromAddress | Yes | Current owner wallet address (must sign the transaction) |