ethers.js/packages/hash/lib.esm/index.d.ts

7 lines
355 B
TypeScript
Raw Permalink Normal View History

2019-05-14 18:48:48 -04:00
import { Bytes } from "@ethersproject/bytes";
2019-07-27 19:02:24 -03:00
export declare function isValidName(name: string): boolean;
2019-05-14 18:48:48 -04:00
export declare function namehash(name: string): string;
export declare function id(text: string): string;
export declare const messagePrefix = "\u0019Ethereum Signed Message:\n";
export declare function hashMessage(message: Bytes | string): string;