Customize User Message

📘

Restricted feature

This is a restricted feature only available to selected partners. Please contact us if you are interested in using this feature.

MetaKeep APIs and SDK ( Sign Message, Invoke Lambda, etc ) allow you to provide a human-friendly explanation for a blockchain transaction through the reason attribute when requesting user consent. The reason is shown to the user in the confirmation dialog UI.

Reason shown to the user in the confirmation dialog

Reason shown to the user in the confirmation dialog

You can choose the template for how the reason is explained to the user in the Advanced Settings of the user wallet settings.

Customize user message

Customize user message

Currently, there are 2 templates available:

  • Raw Message: The confirmation dialog directly shows the reason as it is.
  • Brand Permission Message: The confirmation dialog shown to the user will follow the format <Brand> requests your permission to <Action>, where <Action> is directly copied from the specified reason attribute. This is the default option.