Skip to main content

Signing messages

📋Prerequisites
  • Setup
  • Login
  • The zkEVM message signing feature requires pre-approved transactions to be enabled. Please follow the guide here for instructions on how to enable this feature.

To sign EIP-712 messages, ensure the message is in JSON string format, then call:

string signature = await Passport.ZkEvmSignTypedDataV4("MESSAGE_IN_JSON_STRING_FORMAT");