SignMessage()
Sign a message using SECP256K1.
Method Signature:
Parameters
Name | Type | Description |
---|---|---|
| String | Message that you want to sign. In transactions it must be the TxID. |
| String | Private key in hexadecimal format. |
Example
Result
The result will be of type Map
, but for easier readability, here is the equivalent in JSON.
Last updated