Block usage statistics
getExplorerBlockUsageRetrieve cumulative block usage stats (gas, tx counts, clauses, base fee) over a timestamp range. Compute deltas from sampled cumulative data.
Instructions
Get cumulative block usage statistics (gas, tx counts, clauses, base fee) over a timestamp range via /api/v1/explorer/block-usage. Query: startTimestamp, endTimestamp (Unix seconds, inclusive). Returns cumulative counters at sampled points; compute deltas client-side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTimestamp | Yes | Ending timestamp (Unix seconds, inclusive; >= startTimestamp; coerced from string if needed) | |
| startTimestamp | Yes | Starting timestamp (Unix seconds, inclusive; coerced from string if needed) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| network | Yes |