@ens:labelhash
Compute the ENS labelhash of a single label.
Returns: bytes32
Syntax
Section titled “Syntax”@ens:labelhash(label)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
label | string | Single ENS label (e.g. vitalik, no dots) |
Examples
Section titled “Examples”# Hash a single ENS labelset $label @ens:labelhash("vitalik")