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: utf8
for basic string or structured
for structured data.
string
network
Network for signing: mainnet
, testnet
(default), signet
, sbtcDevenv
or devnet
string
Example request
Example response
Sandbox
Install the Leather extension then try out this method below:
Preview
Last updated