Skip to content

@ens:ens.owner

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

Returns: address

@ens:ens.owner(name)
Name Type Description
name string ENS name (e.g. vitalik.eth)
# Get the owner of a name
set $owner @ens.owner("vitalik.eth")
print $owner