{"title":"Effective GasPrice Prediction for Carrying Out Economical Ethereum Transaction","authors":"Fangxiao Liu, Xingya Wang, Zixin Li, Jiehui Xu, Yubin Gao","doi":"10.1109/DSA.2019.00050","DOIUrl":null,"url":null,"abstract":"In Ethereum, reaching a transaction consensus costs a certain number of gases, which should be purchased by users in their self-defined gas prices. Generally, the higher the gas price, the shorter the time is spent on reaching consensus. Since the transaction gas prices still vary greatly in a block, generating a reasonable price that can make a trade-off between the consensus time and the gases cost is of great significance. In this paper, we propose a Machine Learning Regression-based gas price predicting approach (MLR), aiming to find the lowest transaction gas price in the next block for carrying out economical Ethereum transaction. Specifically, we identify five influencing factors (i.e., difficulty, block gas limit, transaction gas limit, ether price, and miner reward) from the Ethereum transacting process and resort the classic machine learning regression to build the predicting model. Our empirical study on 194,331 blocks implies that the proposed MLR approach works well and can save $17,552.2 for all transactions in the 74.9% accuracy.","PeriodicalId":342719,"journal":{"name":"2019 6th International Conference on Dependable Systems and Their Applications (DSA)","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 6th International Conference on Dependable Systems and Their Applications (DSA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DSA.2019.00050","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9
Abstract
In Ethereum, reaching a transaction consensus costs a certain number of gases, which should be purchased by users in their self-defined gas prices. Generally, the higher the gas price, the shorter the time is spent on reaching consensus. Since the transaction gas prices still vary greatly in a block, generating a reasonable price that can make a trade-off between the consensus time and the gases cost is of great significance. In this paper, we propose a Machine Learning Regression-based gas price predicting approach (MLR), aiming to find the lowest transaction gas price in the next block for carrying out economical Ethereum transaction. Specifically, we identify five influencing factors (i.e., difficulty, block gas limit, transaction gas limit, ether price, and miner reward) from the Ethereum transacting process and resort the classic machine learning regression to build the predicting model. Our empirical study on 194,331 blocks implies that the proposed MLR approach works well and can save $17,552.2 for all transactions in the 74.9% accuracy.