Resolves a given address to the assigned primary domain(s). See resolveAddressToDomain from @azns/resolver-core for more details.

  • Parameters

    • address: undefined | string
    • Optionaloptions: Partial<ResolveAddressOptions>

    Returns {
        allPrimaryDomains: undefined | string[];
        error: undefined | ResolveAddressError;
        hasError: boolean;
        isLoading: boolean;
        primaryDomain: undefined | null | string;
    }

    • allPrimaryDomains: undefined | string[]
    • error: undefined | ResolveAddressError
    • hasError: boolean
    • isLoading: boolean
    • primaryDomain: undefined | null | string