Documentation
Server
Handlers
Message

overview

The Message handler enables users to sign messages using Ledger Live. In the Ethereum context, the messages can be EIP-191 (opens in a new tab) or EIP-712 (opens in a new tab) 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
accountIdA string representing the Ledger Live ID of the account that should be used to sign the message.
hexMessageA Buffer containing the message that should be signed.
metaAn 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.