importRawKey method

Import an account by its private key, in hexadecimal format, and lock it with the passphrase.

Params

ParameterTypeRequired
keyDatastringYes
passphrasestringYes

Result

PropertyTypeRequired
AddressstringYes

Code Examples

Copy page
Report a bug
Send feedback