getblockstats

Input(s) 2

Computes detailed statistics for a specific block identified by its height or hash. It provides insights into various metrics such as average fee, transaction sizes, block size, and more, offering valuable data for analysis and optimization of blockchain operations.

How is this used?

You're a sports analyst trying to understand the performance of a basketball team during a specific game. You'd look into various statistics like points scored, rebounds, assists, and more for that game. Similarly, the 'getblockstats' command allows blockchain analysts, developers, and researchers to dive into the specifics of a Bitcoin block, examining detailed statistics like the average transaction fee, the size of transactions, the total size of the block, and other key metrics. This information is invaluable for understanding how the blockchain is being used at a specific point in time, identifying trends, and making informed decisions about blockchain operations and optimizations.

Request

method

getblockstats

hash_or_height

Required

stats

Optional

Inputs(2)

one required input remaining...

hash_or_height (required) - The block hash or height of the target block
stats JSON array of values to filter from

Result