signMessageV2
Signs a provided messaged with an account selected by user. A randomized salt prefix is added to the input string before it is signed, and 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 |
---|---|
| The message to sign |
| Whether message is a json object |
Success Response
Parameter | Description |
---|---|
| Public key of account that signed message |
| Original message signed |
| Salt added to original message as prefix, before signing |
| Signed message |
Error Response
Parameter | Description |
---|---|
| The type of error which has occured |
| A description of the error which has occured |
| Any raw data associated with the error |
Example
Request
Response
最后更新于