stx_signMessage
Request the signature of an arbitrary message with the Stacks address of an account
Method name
stx_signMessage
Parameters
Parameter | Description | Required | Type |
---|---|---|---|
message | Arbitrary message for signing | string | |
messageType | Type of message for signing: | string | |
network | Network for signing: | string | |
domain | Domain tuple per SIP-018 (for structured messages only) | string |
Example request
Example response
Sandbox
Install the Leather extension then try out this method below:
Preview
Last updated