Use getSingleSubname to fetch a single subname by its fully-qualified name.
Usage
Returns null if the subname doesn’t exist.
Response Fields
Unique identifier for the subname record.
Fully-qualified ENS name (e.g., alice.example.eth).
Label portion of the subname (e.g., alice).
Text records associated with the subname.
Address records keyed by coin type (SLIP-44) or chain identifier.
Custom metadata key-value pairs.
ENS namehash of the subname.
Owner address, if present.
Creation timestamp (ISO 8601).
Last update timestamp (ISO 8601).
Example Response
Notes
- Returns
null when the subname cannot be found.
- For bulk queries or filtering by
owner, label, or metadata, see getFilteredSubnames.