Logo
Core Blockchain's Public API Documentation

sign

POST {{ENVIRONMENT}}

The sign method calculates a Core specific signature.

By adding a prefix to the message makes the calculated signature recognisable as an Core specific signature. This prevents misuse where a malicious DApp can sign arbitrary data (e.g. transaction) and use the signature to impersonate the victim.

Parameters

STRING - Message to be sign.

HEX - Address of the account.

STRING - Password.

Returns

HEX - Signed message.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'ENVIRONMENT' -d '{"jsonrpc":"2.0","method":"personal_sign","params":["message","cb540000000000000000000000000000000000000000","password"],"id":1}'

ENDPOINTS