Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Resolver

class Resolver implements EnsResolver {
constructor(
provider: BaseProvider,
address: string,
name: string,
resolvedAddress?: string,
);
readonly _resolvedAddress: null | string;
_supportsEip2544: null | Promise<boolean>;
readonly address: string;
readonly name: string;
readonly provider: BaseProvider;
 
_fetch(selector: string, parameters?: string): Promise<null | string>;
_fetchBytes(selector: string, parameters?: string): Promise<null | string>;
_getAddress(coinType: number, hexBytes: string): string;
getAddress(coinType?: number): Promise<string>;
getAvatar(): Promise<null | Avatar>;
getContentHash(): Promise<string>;
getText(key: string): Promise<string>;
supportsWildcard(): Promise<boolean>;
}

§Implements

§Constructors

§
new Resolver(provider: BaseProvider, address: string, name: string, resolvedAddress?: string)
[src]

§Properties

§
_resolvedAddress: null | string
[src]
§
_supportsEip2544: null | Promise<boolean>
[src]
§
address: string
[src]
§
name: string
[src]

§Methods

§
_fetch(selector: string, parameters?: string): Promise<null | string>
[src]
§
_fetchBytes(selector: string, parameters?: string): Promise<null | string>
[src]
§
_getAddress(coinType: number, hexBytes: string): string
[src]
§
getAddress(coinType?: number): Promise<string>
[src]
§
getAvatar(): Promise<null | Avatar>
[src]
§
getContentHash(): Promise<string>
[src]
§
getText(key: string): Promise<string>
[src]
§
supportsWildcard(): Promise<boolean>
[src]