Cloud Keys
Sign Message With a Cloud Key
POST
/
api
/
v1
/
key
/
sign
Authorization
Body
curl --location --request POST 'https://groupos.xyz/api/v1/key/sign' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"accountAddress": "0xabc123...",
"message": "Hello, World!"
}'
{
"success": true,
"signature": "0xed10de3263df401d86261eb8811185ad934bde90cfc20493ace2fc435463b8806833ece6c69b86c7851f30e8c9fb0359b092189f6e7abe8cad717a5c1484bcc01b"
}
Sign Message
Sign a raw payload with a Private Key stored in the cloud.
Body
accountAddress
string
The address of the account to sign the message with.
message
string
The message to sign.
Response
success
boolean
Indicates whether the call was successful.
message
string
The signed message.
curl --location --request POST 'https://groupos.xyz/api/v1/key/sign' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"accountAddress": "0xabc123...",
"message": "Hello, World!"
}'
{
"success": true,
"signature": "0xed10de3263df401d86261eb8811185ad934bde90cfc20493ace2fc435463b8806833ece6c69b86c7851f30e8c9fb0359b092189f6e7abe8cad717a5c1484bcc01b"
}