Signs an EVM message.
The options for the signing.
Request parameters for signing an EVM message.
The EVM account to sign the message with.
The message to sign.
The result of the signing.
const user = await getCurrentUser();const evmAccount = user?.evmAccounts[0];const result = await signEvmMessage({ evmAccount, message: "Hello World" // Message to sign}); Copy
const user = await getCurrentUser();const evmAccount = user?.evmAccounts[0];const result = await signEvmMessage({ evmAccount, message: "Hello World" // Message to sign});
Signs an EVM message.