subsquid

Index historical blockchain data with the Subsquid Squid SDK.

4|1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/hairyf/blockchain-master --skill subsquid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subsquid
Source: https://github.com/hairyf/blockchain-master/tree/main/skills/subsquid
Command: npx skills add https://github.com/hairyf/blockchain-master --skill subsquid

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a batch-based toolkit (Squid SDK) for building blockchain indexers, enabling efficient decoding and storage of on-chain data across EVM and Substrate chains.

Core Features & Use Cases

  • Batch processing with a processor, store, and optional typegen for decoding and a GraphQL server for data access.
  • Supports EVM and Substrate processors, multiple stores (Postgres, files, BigQuery), and integration with SQD Network for historical data and RPC for hot blocks.

Quick Start

Create a squid project with the Squid CLI (sqd init) and start indexing blocks using a batch handler.

Frequently Asked Questions about subsquid

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch-index blockchain data for EVM and Substrate chains?

Batch-index blockchain data by configuring a Subsquid Processor and Store to decode logs, transactions, and state changes. This approach enables efficient batch-based decoding and storage of historical on-chain data across EVM and Substrate chains.

What is the best way to decode historical EVM logs and transactions in TypeScript?

Decoding historical EVM logs and transactions in TypeScript is handled by the Squid SDK's batch processor and optional typegen. Typegen generates TypeScript definitions for smart contract events, enabling structured decoding of historical data.

Can I use Postgres or BigQuery to store indexed blockchain data?

Yes, you can store indexed blockchain data using Postgres, files, or BigQuery. The Squid SDK supports multiple store destinations for batch-written on-chain data, allowing you to select the storage backend that fits your project.

How do I serve indexed on-chain data via a GraphQL API?

Serve indexed on-chain data via a GraphQL API by enabling the optional GraphQL server provided by the Squid SDK. After configuring your Processor and Store, the GraphQL server exposes the indexed data for querying.

What do I need to set up to start indexing blocks with the Squid CLI?

To start indexing blocks with the Squid CLI, run `sqd init` to create a squid project. You then configure a Processor for your target chain, a Store for data persistence, and connect to the SQD Network for historical data and RPC for hot blocks.

Does this SDK support batch processing for both EVM and Substrate processors?

Yes, the SDK supports batch processing for both EVM and Substrate processors. It integrates with the SQD Network for historical data and RPC for hot blocks, enabling batch-decode workflows across both chain architectures.