ens:transfer
Transfer ownership of an ENS name. For unwrapped .eth names this hands over both the registrant NFT and the Registry controller (reclaim); transferring to the current registrant just reclaims the controller role.
Syntax
Section titled “Syntax”ens:transfer <name> <to> <newOwner>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name | string | ENS name (e.g. mydao.eth) |
to | command | Keyword to |
newOwner | address | New owner address |
Examples
Section titled “Examples”load ens
# Hand a name over to the DAO agentens:transfer mydao.eth to 0x1234567890abcdef1234567890abcdef12345678
# Reclaim registry control of a name you received without a reclaimens:transfer mydao.eth to @me- Wrapped names transfer the NameWrapper ERC-1155 token; everything that is
neither wrapped nor a
.ethsecond-level name usessetOwneron the registry. - Unwrapped
.ethsecond-level names hand over both roles: the Registry controller (viareclaim) and the registrant NFT, in that order. - Transferring an unwrapped
.ethname to its current registrant is a purereclaim: it resets the Registry controller without moving the NFT — useful after receiving a name from someone who didn't reclaim.
See Also
Section titled “See Also”- @ens:owner — read the current owner