Learn R Programming

gethr (version 0.1.0)

personal_unlockAccount: Unlocking the key.

Description

personal_unlockAccount unlocks an account to be used for signing and transactions.

Usage

personal_unlockAccount(address, password, duration = 3000)

Arguments

address

Address - Address to unlock.

password

String - Password of the account.

duration

Integer - Seconds the account will be unlocked.

Value

Boolean - true if the account has been unlocked.

See Also

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

Examples

Run this code
# NOT RUN {
personal_unlockAccount('0xb117a8bc3ecf2c3f006b89da6826e49b4193977a',
'password', 60000)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab