Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
Parameters: [hash_or_height, metrics?].Positional parameters for
getblockstats:params[0]: Block hash or height.params[1]: Optional list of metrics to compute.
Returns
Selected block statistics (size, weight, fees, etc.).