# getLockAccounts · FT4 TypeScript client · Chromia Docs (concept)

> getLockAccounts(
    connection: Connection ,
    accountId: BufferId,
): Promise< LockAccount []> Returns all lock account associated with a specific acco

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/asset.getLockAccounts/

Function

# getLockAccounts

* ```signature
  getLockAccounts(
      connection: Connection,
      accountId: BufferId,
  ): Promise<LockAccount[]>
  ```

  Returns all lock account associated with a specific account

  #### Parameters

  + connection: [Connection](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

    the connection to use when calling the blockchain
  + accountId: BufferId

    the id of the account for which to fetch lock accounts

  #### Returns Promise<[LockAccount](https://docs.chromia.com/pages/ft4-ts-client/types/asset.LockAccount/)[]>

  a list of lock accounts. The list will be empty in case of no lock accounts

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/asset.getLockAccounts.html)Generated API reference, mirrored from the live docs
