Function useResolveDomainToAddress
- useResolveDomainToAddress(domain, options?): {
address: undefined | null | string;
error: undefined | ResolveDomainError;
hasError: boolean;
isLoading: boolean;
} Parameters
- domain: undefined | string
Optional
options: Partial<ResolveDomainOptions>
Returns {
address: undefined | null | string;
error: undefined | ResolveDomainError;
hasError: boolean;
isLoading: boolean;
}
address: undefined | null | string
error: undefined | ResolveDomainError
hasError: boolean
isLoading: boolean
Resolves a given domain to the assigned address. See
resolveDomainToAddress
from@azns/resolver-core
for more details.