Contents
- Block Maximum Fees (block_fee_max)
- Block Mean Fees (block_fee_mean)
- Block Median Fees (block_fee_median)
- Block Minimum Fees (block_fee_min)
- Miner Fees per Block (block_fees)
Block Maximum Fees
Definition Mined block’s max transaction fee in native units. Dictionary| Name | MetricID | Unit | Interval |
| Block Maximum Fees | block_fee_max | Native Currency | 1 block |
Block Mean Fees
Definition Mined block’s mean transaction fee in native units. Dictionary| Name | MetricID | Unit | Interval |
| Block Mean Fees | block_fee_mean | Native Currency | 1 block |
Block Median Fees
Definition Mined block’s median transaction fee in native units. Dictionary| Name | MetricID | Unit | Interval |
| Block Median Fees | block_fee_median | Native Currency | 1 block |
Block Minimum Fees
Definition Mined block’s minimum transaction fee in native units. Dictionary| Name | MetricID | Unit | Interval |
| Block Minimum Fees | block_fee_min | Native Currency | 1 block |
Miner Fees per Block
Definition The sum of fees paid to miners for the transactions included in each mined block. Dictionary
Methodology
The most recently-mined block is evaluated and the sum of fees in that block is computed.
Available Assets
Bitcoin (BTC), Ethereum (ETH)*
* Historical data covering the pre-merge timeframe only (up to 9/15/2022). With the merge ETH switched from Proof of Work and miners to Proof of Stake and validators meaning the miner fees per block are non-existent post the merge date for Ethereum.
Sample Query
https://api.coinmetrics.io/v4/timeseries/asset-metrics?api_key=%3Cyour_key%3E&assets=btc&frequency=1b&limit_per_asset=1&metrics=block_fees&pretty=true
API Endpoints
metrics can be accessed using these endpoints:timeseries/asset-metrics
block_fee* in the metrics parameter.
GET /timeseries/asset-metrics
- Shell
- Python
- Python Client

