@ens:ens.name
Reverse-resolve an address to its primary ENS name.
Returns: string
Syntax
Section titled “Syntax”@ens:ens.name(address)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
address |
address |
Address to resolve |
Examples
Section titled “Examples”# Reverse-resolve an address to an ENS nameset $name @ens.name(0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045)print $nameSee Also
Section titled “See Also”- @ens.avatar — get the avatar URI
- @ens.text — read a text record