Docs

hashMessage

Ethereum Signed Message hashing

Example

import { hashMessage } from "thirdweb/utils";
const hash = hashMessage("hello world");

Parameters

Returns

The Ethereum Signed Message hash of the message in the specified format.