Docs
chromia.com

Function

authDescriptorCounter

  • authDescriptorCounter(
        accountId: BufferId,
        authDescriptorId: BufferId,
    ): QueryObject<
        number
        | null,
        { account_id: Buffer; auth_descriptor_id: Buffer },
    >

    Creates a query object that can be used to call the ft4.get_auth_descriptor_counter- query

    Parameters

    • accountId: BufferId

      the id of the account of which to get the counter

    • authDescriptorId: BufferId

      the id of the auth descriptor of which to get the counter

    Returns QueryObject<number | null, { account_id: Buffer; auth_descriptor_id: Buffer }>

    the counter value or null if it was not found