Stats
Get Block Stats by Height
GET https://api.whatsonchain.com/v1/<chain>/main/block/height/<height>/statsExample Request
curl --location --request GET "https://api.whatsonchain.com/v1/bsv/main/block/height/698730/stats"curl --location --request GET "https://api.whatsonchain.com/v1/btc/main/block/height/698730/stats"Example Response
{
"hash": "000000000000000002799ba826646d0060b06779e7bde9622145b410f114c1fb",
"tx_count": 7088,
"height": 698730,
"version": 939515904,
"version_hex": "37ffe000",
"merkle_root": "58f529bbf8319340ee299a7b577177ca877ba3ecc2a4e8ef231ccd6387e9dbe6",
"time": 1627996871,
"median_time": 1627993031,
"nonce": 111084755,
"bits": "181112b7",
"difficulty": 64399232575.38872,
"chainwork": "0000000000000000000000000000000000000000012ef34e8452b98b968b3134",
"miner_tag": "qdlnk",
"total_fee": 9868209,
"total_fee_usd": 13.628983449900002,
"total_out": 58639450178,
"avg_fee": 1392,
"avg_fee_usd": 0.0019224912000000002,
"median_fee": 175,
"median_fee_usd": 0.00024169250000000004,
"input_count": 16930,
"output_count": 19002,
"total_out_usd": 80986.9446408358,
"subsidy": 625000000,
"subsidy_usd": 863.1875000000001,
"reward": 634868209,
"reward_usd": 876.8164834499001,
"coinbase": "036aa90a2f71646c6e6b2ff3d24370c50084e8887a0100",
"size": 17444558,
"exchange_rate": {
"rate": 138.11,
"time": 1627948800
},
"min_tx_size": 190,
"max_tx_size": 1151375,
"median_tx_size": 313,
"avg_tx_size": 2461,
"cdd_total": 200.48376520212884
}Parameter
Description
Get Block Stats by Hash
Example Request
Example Response
Parameter
Description
Get Miner Block Stats
Example Request
Example Response
Parameter
Description
Get Miner Minimum Fee Rate Stats
Example Request
Example Response
Parameter
Description
Get Miner Summary Stats
Example Request
Example Response
Parameter
Description
Get Tag Count by Height
Example Request
Example Response
Parameter
Description
Last updated
Was this helpful?