On the Ethereum network, it is challenging to determine a gas price that ensures a transaction will be included in a block within a user’s required timeline without overpaying. One way of addressing this problem is through the use of gas price oracles that utilize historical block data to recommend gas prices. However, when transaction volumes increase rapidly, these oracles often underestimate or overestimate the price. In this paper, we demonstrate how Gaussian process models can predict the distribution of the minimum price in an upcoming block when transaction volumes are increasing. This is effective because these processes account for time correlations between blocks. We performed an empirical analysis using the Gaussian process model on historical block data and compared the performance with GasStation-Express and Geth gas price oracles. The results suggest that when transactions volumes fluctuate greatly, the Gaussian process model offers a better estimation. Further, we demonstrated that GasStation-Express and Geth can be improved upon by using a smaller training sample size which is properly pre-processed. Base of empirical analysis, we recommended a gas price oracle made up of a hybrid model consisting of both the Gaussian process and GasStation-Express. This oracle provides efficiency, accuracy, and better cost.
CITATION STYLE
Chuang, C. Y., & Lee, T. F. (2022). A Practical and Economical Bayesian Approach to Gas Price Prediction. In Lecture Notes in Networks and Systems (Vol. 309, pp. 160–174). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-030-84337-3_13
Mendeley helps you to discover research relevant for your work.