signMessage()
Sign a message using SECP256K1.
Method Signature:
Parameters
Name
Type
Description
message
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 of type String
Last updated