All chains
Khala

Khala

Substrate Substrate

Khala is a Substrate-based blockchain network indexed by the SQD Network. Access real-time and historical data including blocks, transactions, and event logs through the SQD Portal API.

Quick Facts
Networks 1
Runtime Substrate
Real-time No
Data tables 0
Category Substrate
Networks
1
Runtime
Substrate
Coverage
Archive
Start block
0 (genesis)
License
Open-source SDK

Networks

khala
Substrate mainnet 0 tables

Khala on SQD

Validated at ingestion

Khala data is validated by SQD Network workers before it reaches the Portal. Validation is performed across the network rather than by a single ingestion node, so a faulty upstream source can't poison the dataset.

Decoded, schema-typed

Khala data served as decoded, schema-typed tables, ready to query. Your indexer queries the data directly without writing SCALE parsers.

Full historical archive

SQD's Khala archive covers historical state in one endpoint. Real-time on the roadmap.

Open-source SDK

Both the Squid SDK and the Pipes SDK are open-source. Connectors for Postgres, ClickHouse, MongoDB, SQLite and Parquet, plus a custom-target hook. Run your Khala indexer on your own infrastructure or on SQD Cloud.

Build with Khala data

Common production patterns teams build with SQD on Khala.

Stream Khala data in two lines

Example below uses the public Khala endpoint, no API key required for development. For full SDK reference, see the documentation.

1curl --compressed -X POST \
2 'https://portal.sqd.dev/datasets/khala/stream' \
3 -H 'Content-Type: application/json' \
4 -d '{
5 "type": "substrate",
6 "fromBlock": 0,
7 "toBlock": 100,
8 "fields": {
9 "block": {"number":true,"timestamp":true},
10 "event": {"name":true,"args":true}
11 },
12 "events": [{}]
13 }'
khala/stream
Substrate · blocks 0100

Frequently asked questions

How does SQD compare to running a Khala RPC node?
A Khala RPC node serves raw bytes for recent state and rate-limits per request. SQD's Portal pre-indexes the full Khala archive into decoded, schema-typed tables (blocks, transactions, logs) and serves them as a single streaming endpoint. You skip the multi-day node sync, archive storage, monitoring, and scale-out work, and pay only for the data you stream.
What does SQD cost for Khala data?
The public Portal endpoint at portal.sqd.dev/datasets/khala is free for development with no API key. Production workloads run on the SQD Portal with tiered pricing based on the network and request volume. See the pricing page for current tiers, or contact us for an enterprise quote.
How is SQD's Khala data different from Subscan?
Block explorers are read-optimized for human browsing of single blocks or addresses. SQD is built for programmatic indexing: stream millions of Khala blocks into your own database, run analytical queries across the full history, and back production applications with decoded data. Output is structured tables, not HTML pages, and there are no per-call rate limits geared toward UI traffic. If you wanted to build your own Khala explorer, the SQD Portal is what you would back it with.
Can I self-host SQD's Khala indexer?
Yes. Both the Squid SDK and the Pipes SDK are open-source. You can run a Khala indexer on your own infrastructure pointing at the SQD Network or the Portal. SQD Cloud also offers managed hosting if you'd rather not operate it yourself.
Can I export Khala data to a data warehouse or pipeline?
Yes. The Pipes SDK streams Khala data from the Portal into Postgres, ClickHouse, MongoDB, SQLite, Parquet, or a custom target you implement. See the SDK docs for the connector reference.
Does SQD validate Khala data?
Every Khala block ingested into SQD is validated by the SQD Network workers (hash chain, parent reference, and where applicable finality) before it reaches the Portal. Validation is performed across the network, not by a single ingestion process, so a faulty upstream node can't poison the dataset.
Does SQD support real-time Khala data?
Khala historical data is available through the Portal archive. Real-time streaming for Khala is on the roadmap, contact us to flag your use case for prioritization.

See other chains supported by SQD

Start building with Khala

Access Khala data through the SQD Portal, free tier available.