Function useResolveAddressToDomain
- useResolveAddressToDomain(address, options?): {
allPrimaryDomains: undefined | string[];
error: undefined | ResolveAddressError;
hasError: boolean;
isLoading: boolean;
primaryDomain: undefined | null | string;
} Parameters
- address: undefined | string
Optional
options: 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
Resolves a given address to the assigned primary domain(s). See
resolveAddressToDomain
from@azns/resolver-core
for more details.