stx_signStructuredMessage
Request the signature of a structured message using the Stacks address of an account.
Method name
stx_signStructuredMessage
Parameters
Parameter
Description
Required
Type
message
The structured message to sign, represented as a Clarity value. Can be a hex-encoded string
✅
string | object
domain
The domain tuple that defines the signing context, following SIP-018. Can be a hex-encoded string.
✅
string | object
Example request
Example response
Last updated