polkadot.<tables>
to showcase how to use all other <substrate_chain>.<tables>
.
Polkadot and all of the substrate chains are ingested by Colorful Notion
and are supported by Polkadot OpenGov.
Onboarding Status
Both Polkadot and Kusama relay chains and several leading parachains have been onboarded as of March 2024. All Polkadot system chains and Polkadot parachains (as of early 2024) are being onboarded in early Q2 2024. Modeling EVM Activity within Substrate is planned in mid to late Q2 2024.Substrate Tables
All tables are organized by a temporal variable (block_time
or ts
). Because Substrate is organized by pallets, several of the key tables (calls
, events
and extrinsics
) are usually filtered by the pallet section and method (call_section
and call_method
for calls
, or section
and method
for events
and extrinsics
). Decoded data is available in decoded_data
for these tables in JSON form.
Blocks
Each block in the blockchain, summarized with its hash and key statistics for quick overview.
Extrinsics
Detailed transaction data, encompassing both signed and unsigned operations, directly invoking pallet functions.
Balances
Daily snapshots capturing the state of user assets, reflecting the end-of-day balances.
Calls
Comprehensive info on function calls, expanding top-level extrinsics with internal calls.
Events
All events emitted by the runtime, including system events, and events from all pallets.
Transfers
Complete ledger of asset transfers across the network, capturing the movement of tokens between accounts.
Traces
In-depth Substrate storage data, offering insights that are not readily available from the events data alone.
Stakings
Raw staking data including details on Validators, Nominators, Pools, and Pool Members, specific to Polkadot and Kusama Relay Chains.
Materialized Views
Optimized data views storing pre-processed information from other tables, streamlining access to pipelined chain data.
Sample Queries
As Substrate chains use SS58 Addresses, the following Dune function is very useful:overview of recent blocks
popular pallets
Query the most popular pallets and their methods.frequent events
Query the most frequent events, excluding system events.other chains
To query other chains, replacepolkadot
with the chain name, e.g. kusama
, interlay
, astar
etc.
JSON extraction
You will often need to extract data from JSON fields. Here is an example of how to extract data from theevents
table.