@ens:ens.owner
Get the owner of an ENS name (the real owner when the name is wrapped).
Returns: address
Syntax
Section titled “Syntax”@ens:ens.owner(name)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name |
string |
ENS name (e.g. vitalik.eth) |
Examples
Section titled “Examples”# Get the owner of a nameset $owner @ens.owner("vitalik.eth")print $owner