@ens:ens.normalize
Normalize an ENS name per ENSIP-15.
Returns: string
Syntax
Section titled “Syntax”@ens:ens.normalize(name)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name |
string |
ENS name to normalize |
Examples
Section titled “Examples”# Normalize a mixed-case nameset $name @ens.normalize("MyDAO.eth")print $name