Skip to content

ens

ENS domain operations: renewal and content hash encoding.

load ens
CommandDescription
ens:create-subnameCreate 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-fusesBurn 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.
ens:unwrapUnwrap an ENS name from the NameWrapper.
ens:wrapWrap 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:avatarstringGet the avatar URI for 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:fusesnumberCombine NameWrapper fuse names into their uint32 bitmap.
@ens:fuses.decodearrayDecode a NameWrapper fuse bitmap into its fuse names.
@ens:fuses.ofarrayGet the burned 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:owneraddressGet the owner 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:resolveraddressGet the resolver contract address of an ENS name.
@ens:textstringRead a text record from an ENS name.