Sign Message

Sign Message Functions

Sign message

Description

Sign on a message sent from the platform. A widget will be shown to the user with the message itself, and the user will be able to approve or cancel the signage. Use /n at the beginning of a new line.

Parameters

NameTypeRequiredDefaultDescription

blockchainId

String

✔️

Blockchain ID

message

String

✔️

Message to sign

Return type

Promise<string>

Usage Example

await sdk.wallet.signMessage({
  blockchainId: 'tezos',
  message: 'hello tweed',
})

Last updated