Time to read: 1 min
Personal Module Methods
personal_lockAccount​
Locks the given account.
Parameters​
- DATA, 20 Bytes - address.
Example Parameters​
params: ['0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b']
Returns​
Boolean - true if the account was successfully locked, otherwise false.
Example
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"personal_lockAccount","params":["0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b"],"id":73}'
// Result
{
  "id":1,
  "jsonrpc": "2.0",
  "result": true
}