personal_unlockAccount
Decrypts the key with the given address from the key store.
Both passphrase and unlock duration are optional when using the JavaScript console. If the passphrase is not supplied as an argument, the console will prompt for the passphrase interactively.
The unencrypted key will be held in memory until the unlock duration expires. If the unlock duration defaults to 300 seconds. An explicit duration of zero seconds unlocks the key until the Kaia local node exits.
The account can be used with klay_sign and klay_sendTransaction while it is unlocked.
JSONRPC: personal_unlockAccount
Request
Responses
- 200
Return true if unlocked, false otherwise