Skip to content

ens

ENS domain operations: renewal and content hash encoding.

load ens
CommandDescription
ens:create-subname ⚗️Create a subname under an ENS name you own.
ens:registerRegister a .eth name via the controller's commit/reveal flow (commits, waits and reveals in one go by default).
ens:renewRenew ENS domain registrations via bulk renewal.
ens:set-addrSet the address record of an ENS name.
ens:set-contenthashSet the content hash of an ENS name.
ens:set-fuses ⚗️Burn NameWrapper fuses on a wrapped ENS name.
ens:set-primary-nameSet the primary ENS name (reverse record) of the calling account.
ens:set-resolverSet the resolver contract of an ENS name.
ens:set-textSet a text record on an ENS name.
ens:transferTransfer 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.
ens:unwrap ⚗️Unwrap an ENS name from the NameWrapper.
ens:wrap ⚗️Wrap an ENS name in the NameWrapper.
HelperReturnsDescription
@ens:addraddressResolve an ENS name to an address, optionally per coin type.
@ens:availableboolCheck whether a .eth name is available for registration.
@ens:avatarstringAvatar URI of an ENS name.
@ens:coinTypenumberENSIP-11 coin type of an EVM chain, for multichain address records.
@ens:coinType.decodestringChain name of an ENSIP-11 coin type (the inverse of @ens:coinType).
@ens:contenthashbytesEncode a content hash (ipfs, ipns, skynet) for ENS records.
@ens:contenthash.ofstringRead the decoded content hash of an ENS name (e.g. ipfs://…).
@ens:expirynumberRegistration expiry timestamp of a .eth name.
@ens:fuses ⚗️numberCombine NameWrapper fuse names into their uint32 bitmap.
@ens:fuses.decode ⚗️arrayDecode a NameWrapper fuse bitmap into its fuse names.
@ens:fuses.of ⚗️arrayBurned fuse names of a wrapped ENS name.
@ens:labelhashbytes32Compute the ENS labelhash of a single label.
@ens:namestringReverse-resolve an address to its primary ENS name.
@ens:namehashbytes32Compute the ENS namehash of a domain name.
@ens:normalizestringNormalize an ENS name per ENSIP-15.
@ens:owneraddressOwner of an ENS name (the real owner when the name is wrapped).
@ens:rentPricenumberTotal price in wei to register or renew a .eth name for a duration.
@ens:resolveraddressResolver contract address of an ENS name.
@ens:textstringRead a text record from an ENS name.