signMessage()
Sign a message using SECP256K1.
Method Signature:
Parameters
Name | Type | Description |
---|---|---|
plainMessage | String | Message that you want to sign. In transactions it must be the TxID. |
privateKey | String | Private key in hexadecimal format. |
Example
Result
The result will be a String object:
Last updated