<p>Check the medium fee of last n blocks? I believe the transaction fee is currently not very variable. The reference implementation "ensures" that all transactions that are smaller than 1000 bytes, have all outputs over 0,01 BTC and have a large enough priority will be processed, regardless of the transaction fee. Otherwise 0.1 mBTC is paid for every 1000 bytes of transaction (rounded up).</p>

<p>The priority of a transaction can be calculated by <a href="https://en.bitcoin.it/wiki/Transaction_fees" rel="nofollow">[1]</a></p>

<pre><code>priority = sum(input_value_in_base_units * input_age) / size_in_bytes
</code></pre>

CC BY-SA 3.0
2014-11-19T15:45:25.733Z
With respect to http://meta.bitcoin.stackexchange.com/questions/633/please-post-answers-as-answers-not-as-comments?cb=1, I posted my comment as an answer.
Jori
CC BY-SA 3.0
2014-11-19T15:45:02.827Z
2014-11-19T15:45:02.827Z
Jori
<p>Is there some way to programmatically extract the current consensus of the transaction fee from the bitcoin network, either by using the daemon or through some other means?</p>

CC BY-SA 3.0
2014-07-05T19:47:39.253Z
Check the medium fee of last n blocks? I believe the transaction fee is currently not very variable.
Jori
<bitcoind><transaction-fees><network>
Is there someway to determine the current network fee from the bitcoin network/daemon?
Loourr
# Is there someway to determine the current network fee from the bitcoin network/daemon?

(Asked by: username_0 on 2014-07-05)

Is there some way to programmatically extract the current consensus of the transaction fee from the bitcoin network, either by using the daemon or through some other means?

**Tags:** bitcoind, transaction-fees, network

> **Comments:**
> **username_1**: Check the medium fee of last n blocks? I believe the transaction fee is currently not very variable.  

---

## 1 answers

### Answer by username_1 on 2014-11-19. Score: 1 | Accepted answer

Check the medium fee of last n blocks? I believe the transaction fee is currently not very variable. The reference implementation "ensures" that all transactions that are smaller than 1000 bytes, have all outputs over 0,01 BTC and have a large enough priority will be processed, regardless of the transaction fee. Otherwise 0.1 mBTC is paid for every 1000 bytes of transaction (rounded up).
The priority of a transaction can be calculated by [1]
priority = sum(input_value_in_base_units * input_age) / size_in_bytes

> **Comments:**
> **username_1**: With respect to http://meta.bitcoin.stackexchange.com/questions/633/please-post-answers-as-answers-not-as-comments?cb=1, I posted my comment as an answer.  

---

