> For the complete documentation index, see [llms.txt](https://documentation.script.tv/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.script.tv/api-references/scriptcli-apis/account-apis/iskeyunlocked.md).

# IsKeyUnlocked

This API returns whether an account is currently unlocked.

**RPC Method:** scriptcli.IsKeyUnlocked

**Query Parameters**

address: The address of the account to be checked

**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.IsKeyUnlocked","params":[{"address":"0x2E833968E5bB786Ae419c4d13189fB081Cc43bab"}],"id":1}' http://localhost:16889/rpc`

// Result

`{`

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

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

&#x20;`"result": {`

&#x20;`"unlocked": false`

&#x20;`}`

`}`
