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

> getAccountMainAuthDescriptor(
    queryable: Queryable,
    accountId: BufferId,
): Promise< AnyAuthDescriptor > Fetches the main auth descriptor of an acc

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/accounts.getAccountMainAuthDescriptor/

Function

# getAccountMainAuthDescriptor

* ```signature
  getAccountMainAuthDescriptor(
      queryable: Queryable,
      accountId: BufferId,
  ): Promise<AnyAuthDescriptor>
  ```

  Fetches the main auth descriptor of an account

  #### Parameters

  + queryable: Queryable

    the client to use to access the blockchain
  + accountId: BufferId

    id of the account to fetch main auth descriptor for

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

  #### Remarks

  Throws an error if an account with the specified id does not exist

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