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

6 lines
295 B
TypeScript
Raw Normal View History

2019-05-15 01:48:48 +03:00
import { Bytes } from "@ethersproject/bytes";
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;