signMessageWithoutSaltV2

Signs a provided messaged with an account selected by user. It is encased in a non-executable transaction before signed. This ensures compatibility with Ledger devices. For the complete signing process, please go to Testbed.

Input Arguments

Parameter
Description

message: string

The message to sign

isJsonObject?: boolean

Whether message is a json object

Success Response

Parameter
Description

publicKey: string

Public key of account that signed message

data: string

Original message signed

message: string

Signed message

Error Response

Parameter
Description

type: string

The type of error which has occured

description: string

A description of the error which has occured

data: string

Any raw data associated with the error

Example

Request

Response

最后更新于

这有帮助吗?