# LockKey

This API locks an account. A locked account cannot send out Script tokens.

**RPC Method:** scriptcli.LockKey

**Query Parameters**

address: The address of the account to be locked

**Returns**

unlocked: A boolean indicating if the account is still unlocked

`// Request`

`curl -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"scriptcli.LockKey","params":[{"address":"0x2E833968E5bB786Ae419c4d13189fB081Cc43bab"}],"id":1}' http://localhost:16889/rpc`

`// Result`

`{`

&#x20;`"jsonrpc": "2.0",`

&#x20;`"id": 1,`

&#x20;`"result": {`

&#x20;`"unlocked": false`

&#x20;`}`

`}`
