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

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 ([email protected]);

(2) Rui Zhou Swinburne, University of Technology, Melbourne, Australia ([email protected]);

(3) Qing Liu, Data61, CSIRO, Hobart, Australia ([email protected]);

(4) Chengfei Liu, Swinburne University of Technology, Melbourne, Australia ([email protected]);

(5) M.Ali Babar, The University of Adelaide, Adelaide, Australia ([email protected]).

:::


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

:::

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

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

Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact [email protected] for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.
Share Insights

You May Also Like

SOL Rockets 30%, ADA Holds $0.90, BlockDAG Dominates With $407M Presale

SOL Rockets 30%, ADA Holds $0.90, BlockDAG Dominates With $407M Presale

The post SOL Rockets 30%, ADA Holds $0.90, BlockDAG Dominates With $407M Presale appeared on BitcoinEthereumNews.com. The recent Solana (SOL) price surge has impressed traders, but questions remain about whether it can hold support after such a sharp climb. Meanwhile, the Cardano (ADA) market trend shows steady growth, yet its gains feel slower compared to rivals, leaving many wondering if ADA can really break past resistance. So where should investors look when both face their own hurdles? That’s where BlockDAG comes in. While others rely on speculation, BlockDAG is showing proof that rewards are already flowing. Social platforms are filled with photos and unboxing clips of the X10 miner, with users setting up devices and sharing payouts. This isn’t just talk; it’s miners at home already getting paid. For anyone searching for the best crypto to invest in now, BlockDAG stands out by combining real hardware delivery with immediate earning potential. BlockDAG: Proof in the Boxes, Proof in the Rewards BlockDAG’s biggest flex right now isn’t just numbers on a dashboard; it’s the boxes arriving at people’s doors. Across social media, users are posting photos, clips, and setup videos of the X10 miner. You can see them unboxing, plugging in, and instantly starting to mine BDAG. That kind of visibility shows BlockDAG isn’t selling hype; it’s already putting real mining gear into the hands of its backers. The community is not waiting for mainnet to find out if this works; they’re already mining and sharing payouts from home. While other coins are still tied up in speculation, here you’ve got thousands of miners being delivered worldwide. That’s why people are calling it the best crypto to invest in now, because it’s showing action, not just promises. The presale itself is backing up the momentum. BlockDAG has already raised over $407 million, with $40 million pouring in just last month. More than 312,000 holders are locked in,…
Share
2025/09/18 08:52
Share