ethers.js/packages/hash/lib/message.d.ts
2020-10-18 23:19:16 -04:00

4 lines
189 B
TypeScript

import { Bytes } from "@ethersproject/bytes";
export declare const messagePrefix = "\u0019Ethereum Signed Message:\n";
export declare function hashMessage(message: Bytes | string): string;