Contents
- Block Count at Tip (block_count_at_tip)
- Block Count by Same Miner (block_count_by_same_miner_6b)
- Blocks by Unknown Miners (block_count_by_unknown_miners_6b)
- Blocks Without Segwit (block_count_without_segwit_6b)
Block Count at Tip
Definition The number of blocks identified at the chain tip. Dictionary
Methodology
Counts the number of unique block hashes at the tip of the chain and returns that number. More than one block count at the tip of the chain indiciates a fork in the chain.
Available Assets
Bitcoin (BTC), Ethereum (ETH)
Sample Query
https://api.coinmetrics.io/v4/timeseries/asset-metrics?api_key=%3Cyour_key%3E&assets=btc,eth&frequency=1b&metrics=block_count_at_tip&pretty=true
Block Count by Same Miner
Definition The number of blocks mined by the same miner in the past 6 blocks. Dictionary| Name | MetricID | Category | Sub-category | Type | Unit | Interval |
| Block Count by Same Miner | block_count_by_same_miner_6b | KRI | Block Attributes | Sum | Coun of Blocks | 1b |
Blocks by Unknown Miners
Definition The count of blocks that have been mined by unknown miners 6 blocks from the tip of the blockchain. Dictionary
Methodology
The 6 blocks from the tip of the blockchain (including the most recent block) are assessed. Coin Metric employs a proprietary entity clustering methodology in order to identify major mining pools & miners. The coinbase output field used by miners to self-identify is also used to help assess miner identities.
Available Assets (v1)
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 network no longer has any miners as of the merge date.
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_count_by_unknown_miners_6b&pretty=true
Non SegWit Blocks
Definition The number of blocks without SegWit transactions in the past 6 blocks. Dictionary
Methodology
The 6 blocks from the tip of the blockchain (including the most recent block) are assessed, and the number of blocks without SegWit transactions is counted.
Available Assets
Bitcoin (BTC)
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_count_without_segwit_6b&pretty=true
API Endpoints
Blocks metrics can be accessed using these endpoints:timeseries/asset-metrics
block_count* in the metrics parameter.
- Shell
- Python
- Python Client

