Mining
Last updated
Last updated
The current estimated number of hashes required to mine a block. Note: difficulty is often denoted as the relative difficulty with respect to the genesis block, which required approximately 2^32 hashes. For better comparison across blockchains, our values are denoted in raw hashes.
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1month, 1w
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/difficulty_latest HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1230940800,
"v": 4294967296
}
]
The average estimated number of hashes per second produced by the miners in the network.
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1month, 1w
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/hash_rate_mean HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 657661688251465000000
}
]
The Market Cap to Thermocap Ratio is simply defined as Market cap / Thermocap, and can be used to assess if the asset's price is currently trading at a premium with respect to total security spend by miners. The ratio is adjusted to account for the increasing circulating supply over time.
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/marketcap_thermocap_ratio HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 9.763932387300978e-7
}
]
The Miner Outflow Multiple indicates periods where the amount of bitcoins flowing out of miner addresses is high with respect to its historical average. It is defined as the ratio of the miners' outflow and its 365 day MA (in USD).
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m
format - CSV, JSON
json
Possible values: miner name (see /v1/metrics/mining/miners_outflow_multiple/miners for a full list)
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/miners_outflow_multiple HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 0.6699698682205047
}
]
The total amount of newly minted coins, i.e. block rewards.
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m
format - CSV, JSON
json
Possible values: currency - native, usd
miner name (see /v1/metrics/mining/volume_mined_sum/miners for a full list)
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/volume_mined_sum HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 453.125
}
]
The percentage of miner revenue derived from fees, i.e. fees divided by fees plus minted coins.
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/revenue_from_fees HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 0.020563067445822012
}
]
The total miner revenue, i.e. fees plus newly minted coins.
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 10m, 1h, 24h
format - CSV, JSON, csv, json
json
Possible values: currency - native, usd
miner name (see /v1/metrics/mining/revenue_sum/miners for a full list)
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/revenue_sum HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 462.63826177999994
}
]
The total amount of coins in coinbase transactions that have never been moved.
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1month, 1w, 24h, 1h, 10m
format - csv, json
json
Possible values: currency - native, usd
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/miners_unspent_supply HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 1773798.5720095
}
]
Aggregate security spend, or "Thermocap", is the aggregated amount of coins paid to miners and serves as a proxy to mining resources spent. It serves as a measure of the true capital flow into the network and is computed as the aggregate coinbase transactions multiplied by the price in USD at the time they were mined. This metric was first put forth by Nic Carter.
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h
format - CSV, JSON, csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: Successful response
Bad Request - Invalid parameters or unsupported asset
Unauthorized - Invalid or missing API key
Too Many Requests - Rate limit exceeded
GET /v1/metrics/mining/thermocap HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 64648317393.81566
}
]