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.
Request Body
{"jsonrpc"=>"2.0", "method"=>"personal_sign", "params"=>["message", "{{EXAMPLE_ADDRESS_CB}}", "password"], "id"=>1}