Personal module

personal.importRawKey

Invocation
personal.importRawKey(keyData, passphrase)
Parameter
Type
Description
keyData
Data
passphrase
String
Returned type
Description
Address
Example request of personal.importRawKey
Example response of personal.importRawKey
personal.importRawKey(keyData, passphrase)
0x707fc13c0eb628c074f7ff514ae21acaee0ec072

personal.listAccounts

Invocation
personal.listAccounts
Returned type
Description
Address
Example request of personal.listAccounts
Example response of personal.listAccounts
personal.listAccounts
["0x247b5f5f007fb5d50de13cfcbd4460db21c12bcb","0x707fc13c0eb628c074f7ff514ae21acaee0ec072"]

personal.lockAccount

Invocation
personal.lockAccount(address)
Parameter
Type
Description
address
Address
Returned type
Description
Boolean
Example request of personal.lockAccount
Example response of personal.lockAccount
personal.lockAccount(707Fc13C0eB628c074f7ff514Ae21ACaeE0ec072)
true

personal.newAccount

Invocation
personal.newAccount(passphrase)
Parameter
Type
Description
passphrase
String
Returned type
Description
Address
Example request of personal.newAccount
Example response of personal.newAccount
personal.newAccount(testPass)
0xfb06d31473545b0e0d62a24e02b266e08523c6a9

personal.unlockAccount

Invocation
personal.unlockAccount(address, passphrase)
Parameter
Type
Description
address
Address
passphrase
String
Returned type
Description
Boolean
Example request of personal.unlockAccount
Example response of personal.unlockAccount
personal.unlockAccount(address, passphrase)
true
Copy link
On this page
personal.importRawKey
personal.listAccounts
personal.lockAccount
personal.newAccount
personal.unlockAccount