@unstoppabledomains/resolution
Version:
Domain Resolution for blockchain domains
13 lines (12 loc) • 658 B
TypeScript
export declare function eip137Namehash(domain: string): string;
export declare function eip137Childhash(parentHash: string, label: string): string;
export declare function znsNamehash(domain: string): string;
export declare function znsChildhash(parentHash: string, label: string): string;
export declare function fromHexStringToDecimals(value: string): string;
export declare function fromDecStringToHex(value: string): string;
export declare const splitDomainName: (domain: string) => {
label: string;
tld: string;
};
export declare const labelNameHash: (domain: string) => string;
export declare const getParentDomain: (domain: string) => string;