Learn R Programming

gethr (version 0.1.0)

personal_ecRecover: Signatory address.

Description

personal_ecRecover returns the address associated with the private key that was used to calculate a signature.

Usage

personal_ecRecover(message, signature)

Arguments

message

String - Message that has been signed.

signature

Data - Signature of the message that has been signed.

Value

Address - Address of the account that has signed a message.

See Also

Other personal functions: gethr, personal_importRawKey, personal_listAccounts, personal_lockAccount, personal_newAccount, personal_sign, personal_unlockAccount

Examples

Run this code
# NOT RUN {
personal_ecRecover('hello world', '0x1dd3657c91d95f350ab25f17ee7cbcdbccd3f5bc
52976bfd4dd03bd6bc29d2ac23e656bee509ca33b921e0e6b53eb64082be1bb3c69c3a4adccd9
93b1d667f8d1b')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab