DocumentationLedger LiveDiscoverIntegration walkthroughsLedger Services KitServerHandlersMessage

overview

The Message handler enables users to sign messages using Ledger Live. In the Ethereum context, the messages can be EIP-191 or EIP-712 messages.

request handlers:

“message.sign” - Sign Message

Allow the user to sign the provided message. This method is used to get a signature for a given message, which proves that the owner of the account has agreed to the message content.

parameter (in req.params)required?note
accountIdâś…A string representing the Ledger Live ID of the account that should be used to sign the message.
hexMessageâś…A Buffer containing the message that should be signed.
meta❌An object with additional data associated with the message.
walletHandler usednote
message.sign
  • Returns: A promise that resolves with a Buffer containing the signed message in hexadecimal format.
Ledger
Copyright © Ledger SAS. All rights reserved. Ledger, Ledger Nano S, Ledger Vault, Ledger OS are registered trademarks of Ledger SAS