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
1
personal.importRawKey(keyData, passphrase)
Copied!
1
0x707fc13c0eb628c074f7ff514ae21acaee0ec072
Copied!

personal.listAccounts

Invocation
personal.listAccounts
This method doesn't have parameters.
Returned type
Description
Address
Example request of personal.listAccounts
Example response of personal.listAccounts
1
personal.listAccounts
Copied!
1
["0x247b5f5f007fb5d50de13cfcbd4460db21c12bcb","0x707fc13c0eb628c074f7ff514ae21acaee0ec072"]
Copied!

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
1
personal.lockAccount(707Fc13C0eB628c074f7ff514Ae21ACaeE0ec072)
Copied!
1
true
Copied!

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
1
personal.newAccount(testPass)
Copied!
1
0xfb06d31473545b0e0d62a24e02b266e08523c6a9
Copied!

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
1
personal.unlockAccount(address, passphrase)
Copied!
1
true
Copied!
Last modified 1mo ago