portal_substrate_query_calls
Retrieve raw Substrate or Polkadot calls using pallet and call-name filters, with optional inclusion of emitted events, subcalls, or extrinsic context for in-depth blockchain analysis.
Instructions
Query raw Substrate or Polkadot calls with pallet/call-name filters and optional child-call, emitted-event, or extrinsic context.
COMMON USER ASKS:
Recent Balances calls
Polkadot calls with emitted events
FIRST CHOICE FOR:
raw Substrate or Polkadot call rows, especially when you want the events emitted by those calls
WHEN TO USE:
You need raw call records on a Substrate network.
You want pallet call activity like Balances.transfer_keep_alive or Ethereum.transact.
You want calls plus the events emitted by those calls.
DON'T USE:
You want events or aggregate analytics rather than call rows.
EXAMPLES:
Recent Balances calls: {"network":"polkadot","timeframe":"1h","call_names":["Balances.transfer_keep_alive"],"limit":20}
Polkadot calls with emitted events: {"network":"polkadot","timeframe":"1h","call_names":["ParaInherent.enter"],"include_events":true,"limit":20}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max calls to return | |
| cursor | No | Continuation cursor from a previous response | |
| network | No | Substrate network name or alias. Optional when continuing with cursor. | |
| to_block | No | Ending block number | |
| timeframe | No | Time range (e.g. '1h', '24h'). Alternative to from_block/to_block. | |
| call_names | No | Optional qualified call names like Timestamp.set or Balances.transfer_keep_alive | |
| from_block | No | Starting block number | |
| to_timestamp | No | Ending timestamp. Accepts Unix seconds, Unix milliseconds, ISO datetime, or relative input like "now". | |
| include_stack | No | Attach the parent call stack for each matching call | |
| finalized_only | No | Only query finalized blocks | |
| from_timestamp | No | Starting timestamp. Accepts Unix seconds, Unix milliseconds, ISO datetime, or relative input like "6h ago". | |
| include_events | No | Attach events emitted directly by each matching call | |
| response_format | No | Response format: defaults to 'compact' for chat-friendly output. Compact mode keeps requested subcalls, events, and extrinsic context in a smaller inline shape. | |
| include_subcalls | No | Attach direct descendant calls inline for each matching call | |
| include_extrinsic | No | Attach the parent extrinsic inline for each matching call |