Skip to main content
Web3Fire
infrastructureintermediate

Subgraph

A defined mapping that extracts and indexes specific blockchain data for GraphQL queries.

entity.loading_intelligence

मुख्य तथ्य

Categoryinfrastructure
Difficultyintermediate

Overview

A subgraph is a defined mapping that extracts and indexes specific blockchain data for GraphQL queries. It tells an indexer what data to track and how to store it. It is the unit of indexing on The Graph.

How It Works

A developer defines a subgraph with the contract events and entities to index, then deploys it to the network. Indexers run the subgraph and serve queries. Applications query it via GraphQL.

Why It Matters

Subgraphs make blockchain data queryable and composable, standardizing data access for dapps. They reduce development overhead. They are a core part of the Web3 data stack.

Related Concepts

Subgraphs are part of The Graph and Indexer infrastructure. They enable GraphQL queries on Blockchain Data.

Knowledge Graph

entity.loading_graph

entity.faq

entity.loading_faq

entity.related_comparisons

ARCHITECTURE V3 — Static Knowledge Shell · 297/297 Concepts · SSG · 0 D1