Skip to content

@ens:owner

Get the owner of an ENS name (the real owner when the name is wrapped).

Returns: address

@ens:owner(name)
NameTypeDescription
namestringENS name (e.g. vitalik.eth)
# Get the owner of a name
set $owner @ens:owner("vitalik.eth")
print $owner