Copy
Ask AI
curl --request GET \
--url https://api.nameguard.io/inspect-labelhash/{network_name}/{labelhash}/{parent_name}
[{labelhash}].{parent_name}.Parent may be a name with any number of labels. The default parent is “eth”.
This is a convenience endpoint to generate a NameGuardReport in cases when you only have:
NameGuard always inspects names, rather than labelhashes. So this endpoint will first attempt
to resolve the “childmost” label associated with the provided labelhash through the ENS Subgraph,
using the network specified in network_name.
If this label resolution fails the resulting NameGuardReport will be equivalent to requesting
a NameGuardReport for the name [{labelhash}].{parent_name} which will contain (at least)
one label with an unknown Normalization.
If this label resolution succeeds the resulting NameGuardReport will be equivalent to requesting
a NameGuardReport for the name {label}.{parent_name}.