Granular Insights On Chain Using Hourly Network Data Metrics

Resources
This notebook demonstrates basic functionality offered by the Coin Metrics Python API Client and Network Data Pro.
Coin Metrics offers a vast assortment of data for hundreds of cryptoassets. The Python API Client allows for easy access to this data using Python without needing to create your own wrappers using requests and other such libraries.
To understand the data that Coin Metrics offers, feel free to peruse the resources below.
The Coin Metrics API v4 website contains the full set of endpoints and data offered by Coin Metrics.
The Coin Metrics Product Documentation gives detailed, conceptual explanations of the data that Coin Metrics offers.
The API Spec contains a full list of functions.
File Download
Download the entire notebook as either a jupyter notebook to run yourself or as a pdf from the two links below
Notebook Setup
Hourly Metrics
Coin Metrics is pleased to announce the release of a new set of hourly metrics for Network Data Pro. This feature unlocks a new level granularity for our existing suite of on-chain metrics.
Previously, our Network Data Pro offering provided both Daily (EOD) and Block-by-Block (BBB) aggregations of on-chain metrics. Now, users have the ability to capture on-chain activity at an intermediate frequency, providing timely insights into metrics like Active Address Count, Transaction Fees, and more.
Retrieve Hourly Metrics Catalog
Example Analyses
ETH Fee Burn vs. Tx Count
First, we'll examine the relationship between Ethereum's transaction count (TxCnt) and the amount of ETH being "burned," or removed from circulation (SplyBurntNtv).
Since the introduction of EIP-1559, Ethereum has segmented gas fees into two separate fees: the "base fee" and the "priority tip." While the priority tip is rewarded to validators, the base fee is burnt. Over the long-term, this has enabled ETH to offer a deflationary monetary policy, with periods of high transaction activity permanently destroying units of ETH and lowering the total circulating supply.
For more details on the impact of EIP-1559, check out State of the Network #166: Ethereum After EIP-1559
time
2024-09-27 17:00:00+00:00
-70.397819
53103
2024-09-27 18:00:00+00:00
-50.973631
52695
2024-09-27 19:00:00+00:00
-129.348614
49882
2024-09-27 20:00:00+00:00
-64.472321
52184
2024-09-27 21:00:00+00:00
-39.452127
50770
...
...
...
2024-10-04 11:00:00+00:00
-19.116498
48958
2024-10-04 12:00:00+00:00
-27.192417
49215
2024-10-04 13:00:00+00:00
-39.860415
49662
2024-10-04 14:00:00+00:00
-48.651027
51090
2024-10-04 15:00:00+00:00
-58.644727
51400
167 rows × 2 columns

BTC Block Interval vs. Mean Fee
In contrast to Etheruem's predictable 12-second block time, Bitcoin's block interval is based on probabilistic factors— there's no way of knowing for sure when the next block will come in.
The blockchain's difficulty adjustment software targets an average block interval of 10 minutes, but blocks can occasionally take an hour or more to be mined, resulting in brief periods of transaction congestion. This congestion can result in spikes in transaction fees, as a busy backlog of BTC users bid up fees in order to ensure their inclusion in the next block.
In the following analysis, we examine how Bitcoin's median transaction fee (FeeMedUSD) responds to prolonged block intervals (BlkIntMean).
time
2024-09-27 17:00:00+00:00
btc
16.208333
1.289085
2024-09-27 18:00:00+00:00
btc
5.725
1.061119
2024-09-27 19:00:00+00:00
btc
12.443333
0.405089
2024-09-27 20:00:00+00:00
btc
5.090909
0.317237
2024-09-27 21:00:00+00:00
btc
10.326667
0.339649
...
...
...
...
2024-10-04 10:00:00+00:00
btc
8.87619
0.126917
2024-10-04 11:00:00+00:00
btc
5.666667
0.183543
2024-10-04 12:00:00+00:00
btc
15.95
0.208127
2024-10-04 13:00:00+00:00
btc
5.711667
0.175143
2024-10-04 14:00:00+00:00
btc
10.697222
0.320860
166 rows × 3 columns

Last updated
Was this helpful?