Docs
chromia.com

Function

getAccountMainAuthDescriptor

  • 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>

    Remarks

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