Suppose $Y_i=X_i'\beta+\epsilon_i$ with $E(\epsilon_i|X_i)=0$. Consider the usual OLS estimator for $\beta$ using a random sample $\{X_i,Y_i\}_{i=1}^n$: $\widehat{\beta}=(\frac{1}{n}\sum_{i=1}^nX_iX_i')^{-1}\frac{1}{n}\sum_{i=1}^n X_iY_i$.
Substitute $Y_i=X_i'\beta+\epsilon_i$ into the expression gives $\widehat{\beta}=\beta+(\frac{1}{n}\sum_{i=1}^nX_iX_i')^{-1}\frac{1}{n}\sum_{i=1}^n X_i\epsilon_i$. The way to prove consistency is to show that $\frac{1}{n}\sum_{i=1}^nX_iX_i'\overset{p}{\rightarrow} E(X_iX_i')$, and $\frac{1}{n}\sum_{i=1}^n X_i\epsilon_i\overset{p}{\rightarrow} E(X_i\epsilon_i)=0$ by weak law of large numbers and then by continuous mapping theorem. Note that the weak law of large numbers only requires the existence of expected values: $E(X_iX_i')$ and $E(X_i\epsilon_i)$, where $E(X_i\epsilon_i)=E(X_iE(\epsilon_i|X_i))=0$ always hold under our model.
Thus it seems that all I need to assume is that $E(X_iX_i')<\infty$ and $E(X_iX_i')$ being invertible and I only need these two assumptions. Am I right?