đ signMessage
You can request your user to sign a message with their wallet's Bitcoin addresses, by invoking the signMessage
method.
Request parameters | Description |
---|---|
| a string representing the address to use to sign the message |
| a string representing the message to be signed by the wallet |
By default, signMessage will use two type of signatures depending on the Bitcoin address used for signing:
You have the option to specify your preferred signature type with the |
The signMessage
method returns a Promise that resolves to the SignMessageResult
object:
Property | Description |
---|---|
| a string representing the signed message. |
| a string representing the hash of the message |
| a string representing the address used for signing |
Last updated