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

> getAuthDescriptorCounterIdForTxContext(
    accountId: BufferId,
    authDescriptorId: BufferId,
): string Derives a unique ID for a counter value for an a

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/utils.getAuthDescriptorCounterIdForTxContext/

Function

# getAuthDescriptorCounterIdForTxContext

* ```signature
  getAuthDescriptorCounterIdForTxContext(
      accountId: BufferId,
      authDescriptorId: BufferId,
  ): string
  ```

  Derives a unique ID for a counter value for an auth descriptor on a specific account

  #### Parameters

  + accountId: BufferId

    the ID of the account in question
  + authDescriptorId: BufferId

    the ID of the auth descriptor in question

  #### Returns string

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