Since the reform and opening up, China’s economy has developed rapidly, becoming the second largest economy in the world. The state of macroeconomic development has a great influence on the government’s policy introduction and the investment decisions of individual institutions. Therefore, forecasting the macroeconomy is of great significance to the country. This paper aims to study the macroeconomic forecasting model system based on digital information and blockchain technology. This paper proposes an artificial neural network prediction algorithm based on digital information and blockchain technology, and the artificial neural network and particle swarm algorithm are combined to become the hybrid artificial neural network algorithm, and the conception of the establishment of the macroeconomic forecast model is proposed. The experimental results of this paper show that according to the prediction results of artificial neural network, the prediction and actual error in 2010 is 0.10, while the new method proposed in this paper predicts the error of 0.056. In 2016, the prediction error based on artificial neural network was 0.14, while the prediction result of the new method proposed in this paper showed an error of 0.008. In each year’s economic forecast, the neural network model of the new method proposed in this paper has higher prediction accuracy and smaller error. It can be seen that the neural network model based on artificial neural network and PSO algorithm proposed in this paper is beneficial to macroeconomic forecasting.