stx_signStructuredMessage
Request the signature of a structured message using the Stacks address of an account.
Method name
Parameters
Parameter
Description
Required
Type
Example request
try {
// Request signature
const response = await window.LeatherProvider.request("stx_signStructuredMessage", {
message: "3e5f6a7b9d8c1f2e4a6b",
domain: "2c26b46b68ffc68ff99b453c1d3041344b947b77"
});
console.log("Response:", response);
Example response
Last updated
Was this helpful?