Transaction Fees

Contents

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

Methodology

The most recently-mined block is evaluated and the maximum of fees in that block is computed.

Available Assets

Bitcoin (BTC)

Sample Query

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

Methodology

The most recently-mined block is evaluated and the mean of fees in that block is computed.

Available Assets

Bitcoin (BTC)

Sample Query

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

Methodology

The most recently-mined block is evaluated and the median of fees in that block is computed.

Available Assets

Bitcoin (BTC)

Sample Query

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

Methodology

The most recently-mined block is evaluated and the minimum of fees in that block is computed.

Available Assets

Bitcoin (BTC)

Sample Query

Miner Fees per Block

Definition

The sum of fees paid to miners for the transactions included in each mined block.

Dictionary

NameMetricIDUnitInterval

Miner Fees per block

block_fees

Difficulty

1 block

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

API Endpoints

metrics can be accessed using these endpoints:

  • timeseries/asset-metrics

and by passing in the metric ID's block_fee* in the metrics parameter.

curl --compressed "https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=block_fees&assets=btc&pretty=true&api_key=<your_key>"

Last updated