address to a primary name.Data sources for the primary name lookup include:
Returns display_name to be shown to users and estimates impersonation_status.
If address has a primary name and return_nameguard_report is True, then NameGuard will return a SecurePrimaryNameResult including a NameGuardReport for the primary name. Else, NameGuard will return None as nameguard_result.
mainnet, sepolia Successful Response
Reverse lookup result.
The status of a secure primary ENS name lookup performed by NameGuard.
normalized: The ENS primary name was found and it is normalized.no_primary_name: The ENS primary name was not found.unnormalized: The ENS primary name was found, but it is not normalized.uninspected: The name was exceptionally long and was not inspected for performance reasons.normalized, no_primary_name, unnormalized, uninspected Impersonation estimate of the primary_name.
null if primary_name is nullunlikely, potential Primary ENS name for the Ethereum address.
null if primary_name_status is any value except normalized"vitalik.eth"
ENS beautified version of primary_name.
primary_name is null then provides a fallback display_name of "Unnamed [first four hex digits of Ethereum address]", e.g. "Unnamed c2a6""vitalik.eth"
NameGuard report for the primary_name.
address has a primary name and return_nameguard_report is True, then return a NameGuardReport for the primary name. Else, NameGuard will return null