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