> ## Documentation Index
> Fetch the complete documentation index at: https://namehash-krzysztofwrobel-sc-24494-nameguard-remove-goerli-a.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect Labelhash GET

> ## Inspects the 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:
1. The labelhash of the "childmost" label of a name.
2. The complete parent name of the "childmost" label.

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}`.

<RequestExample>
  ```bash cURL
  curl --request GET \
    --url https://api.nameguard.io/inspect-labelhash/{network_name}/{labelhash}/{parent_name}
  ```

  ```ts SDK
  const report = await nameguard.inspectLabelhash("0x...");
  ```
</RequestExample>
