Skip to content
Alchemy Logo

getblockstats

POST
/{apiKey}

Calculates various statistics for a given block by hash or height.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

string or integerrequired

The block hash (string) or height (integer) of the target block.

string[]optional

Optional list of specific stats to retrieve. If empty or omitted, returns all stats.

Responses

200

A set of statistical metrics for the specified block.

Was this page helpful?