add type option to getChildrenAccountsForAccount