SignMessage – Trezor Suite

Trezor Suite

Asks device to sign a message using the private key derived by given BIP32 path.

const result = await TrezorConnect.signMessage(params); 

Params

  • path — required string | Array minimum length is 3 . read more
  • message – required string
  • coin – optional string Determines network definition specified in coins.json file. Coin shortcut , name or label can be used. If coin is not set API will try to get network definition from path .
  • hex – optional boolean convert message from hex

Example

TrezorConnect.signMessage(< path: "m/44'/0'/0'", message: 'example message', >); 

Leave a Comment

Your email address will not be published. Required fields are marked *