portal_substrate_get_analytics
Retrieves an analytics snapshot for Substrate or Polkadot activity in a specified timeframe, including event, call, and extrinsic counts plus top event and call names.
Instructions
Analytics snapshot for Substrate or Polkadot activity in an indexed window, with event, call, and extrinsic counts plus top event and call names.
COMMON USER ASKS:
Polkadot activity snapshot
Big picture for Polkadot activity
How is Polkadot doing?
FIRST CHOICE FOR:
Polkadot activity analytics in an indexed window
how Polkadot is doing in an indexed window
analytics snapshot for Polkadot or another Substrate network in an indexed window
WHEN TO USE:
You want Polkadot activity analytics in a selected indexed window.
You want to ask "how is Polkadot doing in this indexed window?" and get an analytics answer rather than just network freshness metadata.
You want a quick Substrate network snapshot or health check.
You want top pallet events and calls rather than raw rows.
You want to know how a Substrate network is doing in the selected indexed window.
DON'T USE:
You need full raw event or call records.
EXAMPLES:
Polkadot activity snapshot: {"network":"polkadot","timeframe":"1h"}
Big picture for Polkadot activity: {"network":"polkadot","timeframe":"1h"}
How is Polkadot doing?: {"network":"polkadot","timeframe":"6h"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Execution depth. Defaults to complete requested-window analysis; the optional fast value is only for explicitly bounded previews. | deep |
| network | No | Substrate network name (default: polkadot) | polkadot |
| to_block | No | Ending block number | |
| timeframe | No | Time range like '1h', '6h', or '24h'. Default: '1h' | |
| from_block | No | Starting block number (use this OR timeframe) | |
| to_timestamp | No | Ending timestamp. Accepts Unix seconds, Unix milliseconds, ISO datetime, or relative input like "now". | |
| section_limit | No | Max rows to keep in ranked event and call sections | |
| from_timestamp | No | Starting timestamp. Accepts Unix seconds, Unix milliseconds, ISO datetime, or relative input like "6h ago". | |
| response_format | No | Response format: 'summary' (headline metrics only), 'compact' (core sections), 'full' (full dashboard payload) | full |