The article explores the inner workings of Bitcoin’s transaction fee system, focusing on how miners prioritize transactions, how mempools manage unconfirmed ones, and how fees are determined based on network congestion and confirmation times. It explains why transaction fees fluctuate, how miners maximize profit by choosing higher-fee transactions, and presents a framework for estimating fees relative to expected confirmation durations—offering insight into the economic and technical dynamics of the Bitcoin blockchain.The article explores the inner workings of Bitcoin’s transaction fee system, focusing on how miners prioritize transactions, how mempools manage unconfirmed ones, and how fees are determined based on network congestion and confirmation times. It explains why transaction fees fluctuate, how miners maximize profit by choosing higher-fee transactions, and presents a framework for estimating fees relative to expected confirmation durations—offering insight into the economic and technical dynamics of the Bitcoin blockchain.

Estimating Bitcoin Transaction Fees Based on Confirmation Time

2025/10/21 09:03
4분 읽기
이 콘텐츠에 대한 의견이나 우려 사항이 있으시면 crypto.news@mexc.com으로 연락주시기 바랍니다

Abstract and 1. Introduction

  1. Preliminaries
  2. Problem definition
  3. BtcFlow
  4. Bitcoin Core (BCore)
  5. Mempool state and linear perceptron machine learning (MSLP)
  6. Fee estimation based on neural network (FENN)
  7. Experiments
  8. Conclusion, Acknowledgements, and References

2 Preliminaries

Proposed in 2008, the Bitcoin blockchain system as a decentralized digital currency payment system operates on a worldwide basis [24]. Even though different cryptocurrencies, such as Ethereum (ETH) [34], Dash[7], Ripple (XRP) [27], Litecoin[8] (LTC), have been designed, a recent study shows that Bitcoin remains the dominant cryptocurrency in terms of market capitalisation and it is the most widely supported cryptocurrency among participating exchanges, wallets and payment companies [15, 23]. Blockchain revolutionizes the way we interact, automate payments, trace and track transactions. Fundamentally, it uses an immutable linked chain of blocks to record and track transactions. [24, 26, 38].

\ Transactions in the Bitcoin system record the digital asset transfer between clients. In a transaction, the output describes the amount of digital assets to be transferred to the new owner(s), while the input identifies the digital assets to be consumed [24]. One transaction can have several inputs and outputs. Transaction fee is set with the difference between the total of input and output assets, which will be collected by miners once the transaction is confirmed. Consequently, miners often choose transactions with larger transaction fees to maximise their mining profits. As a result, the transaction fee has to be increased to help with transaction confirmation by increasing the processing priority. Transaction feerate measures the fee density of a transaction or the transaction fee per size unit. In fact, each time only a limited number of transactions can be confirmed, hence miners would prioritise transactions with higher feeratess in order to increase mining profits.

\ Transactions can be submitted to the blockchain network via the Bitcoin wallets (desktop wallet, mobile wallet, web wallet, paper wallet, etc.) [24]. The submitted pending transactions are then broadcast across various nodes. If they meet the transactions’ validity criteria [2], Bitcoin nodes will add them to their mempools (memory pools), where transactions wait until they can be included (mined) into a block. Miners are the nodes responsible for the verification and block construction. Specifically, miners first select unconfirmed transactions from the mempool to construct their own candidate blocks, and then compete to determine a computational solution (Proof of Work (Pow)) to attach their candidature block to the blockchain (referred to as ‘mining a block’). Among all the miners, only the first miner who solves this computational issue will be rewarded with a fixed Bitcoin reward from the blockchain system plus transaction fees from the chosen transactions. Once a new block is added to the blockchain, these transactions are confirmed and will then be removed from the miner’s mempool.

\ A transaction is complete when it is recorded in a blockchain block. The block stores information about the selected transactions, as well as information about the mining complexity, block size, etc. In the meantime, the Bitcoin blockchain system keeps track of the generation time of each block.

3 Problem definition

The paper targets on estimating the transaction fee for a transaction with a given expected confirmation time (time between entering mempool and confirmed in the blockchain). As for the starting timestamp of confirmation time, a more realistic and meaningful choice could be the submission time for a transaction. We make our decision on using the entering mempool time mainly for two reasons. The first one is that the submission timestamp is unavailable. The second one is that the entering time is more reasonable. In the blockchain system, there can be different kinds of time delays between transaction submission and transaction entering the mempool, such as the propagation routine among network nodes, network traffic, etc. However, once the transactions enter the mempool, it means that they will start to compete to be included in the next block.

\ \

\ \ Table 1 summarizes the parameters of the three categories information used in different transactions fee models presented in this paper. In Section 8, we will compare the performance of these models with their respective features. The main notations used in this paper can be found in Table 2.

\ \ Table 2: Main notations

\ \ \

:::info Authors:

(1) Limeng Zhang, Swinburne University of Technology, Melbourne, Australia (limengzhang@swin.edu.au);

(2) Rui Zhou Swinburne, University of Technology, Melbourne, Australia (rzhou@swin.edu.au);

(3) Qing Liu, Data61, CSIRO, Hobart, Australia (q.liu@data61.csiro.au);

(4) Chengfei Liu, Swinburne University of Technology, Melbourne, Australia (cliu@swin.edu.au);

(5) M.Ali Babar, The University of Adelaide, Adelaide, Australia (ali.babar@adelaide.edu.au).

:::


:::info This paper is available on arxiv under CC0 1.0 UNIVERSAL license.

:::

[7] https://www.dash.org/

\ [8] https://litecoin.org/

면책 조항: 본 사이트에 재게시된 글들은 공개 플랫폼에서 가져온 것으로 정보 제공 목적으로만 제공됩니다. 이는 반드시 MEXC의 견해를 반영하는 것은 아닙니다. 모든 권리는 원저자에게 있습니다. 제3자의 권리를 침해하는 콘텐츠가 있다고 판단될 경우, crypto.news@mexc.com으로 연락하여 삭제 요청을 해주시기 바랍니다. MEXC는 콘텐츠의 정확성, 완전성 또는 시의적절성에 대해 어떠한 보증도 하지 않으며, 제공된 정보에 기반하여 취해진 어떠한 조치에 대해서도 책임을 지지 않습니다. 본 콘텐츠는 금융, 법률 또는 기타 전문적인 조언을 구성하지 않으며, MEXC의 추천이나 보증으로 간주되어서는 안 됩니다.

USD1 Genesis: 0 Fees + 12% APR

USD1 Genesis: 0 Fees + 12% APRUSD1 Genesis: 0 Fees + 12% APR

New users: stake for up to 600% APR. Limited time!