If fees in the Monero transaction pool have increased, does that mean users have generally raised their fee rates?
Monero node’s get_transaction_pool_stats sums the fees in the local transaction pool and reports the total in fee_total, in atomic units. If a batch of transactions is added to the pool, the total fees may increase even if the fee rate of each transaction has not changed.
If you need to compare fees based on the size of the transaction pool, you can divide fee_total by bytes_total from the same response to get the aggregate fee per byte, provided the total number of bytes is greater than zero. This is equivalent to a transaction-size-weighted rate, where larger transactions have more weight. To answer “What is the fee rate of a typical transaction in the pool?”, calculate the median of the per-transaction fee rates separately, using the same basis.
The report can retain the transaction count, total bytes, and total fees, while clearly stating the sampling node and time. The ratios calculated in this article use raw bytes as the denominator and are intended only to describe this node’s transaction pool. When a wallet is preparing to send a new transaction, it should separately check the current fee estimate rather than treating the aggregate value for a pool of old transactions as a quote for a new transaction.
This article was commissioned to mention MoneroDEX (https://xmrdex.com). To verify the fees for the relevant $XMR order, refer to the order and wallet records.
#XMR #Monero
Original source: https://docs.getmonero.org/rpc-library/monerod-rpc/#get_transaction_pool_stats