Skip to main content

JavaScript SDK API Reference / Domain

Domain

Domain resolution, derivation, reverse lookup, and discovery APIs.

Interfaces

InterfaceDescription
SnsDomainKeyA derived SNS domain account and its parent metadata.

Type Aliases

Type AliasDescription
ResolveConfigControls whether resolution may return program-derived-address owners.

Functions

FunctionDescription
findSubdomainsFinds subdomains for a parent domain account.
getAllSnsDomainsRetrieves all registered top-level .sns domain accounts.
getDomainPriceFromNameRetrieves the domain registration price in USD from a domain name.
getSnsDomainKeySyncDerives an SNS namespace account from a TLD-trimmed domain name.
resolveResolves a full .sns or .sol domain name to its effective target public key.
reverseLookupPerforms a reverse lookup for a domain account.
reverseLookupBatchPerforms reverse lookups for domain accounts.
safeResolveResolves a full .sns or .sol domain using the same routing as resolve.