You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
excerpt: "Getting historical data on a smart contract can be frustrating when you’re building a dapp. The Graph provides an easy way to query smart contract data through APIs known as subgraphs."
5
+
logo: { src: "https://pbs.twimg.com/profile_images/1735767195567730688/goqgFT93_400x400.jpg", alt: "The Graph Logo" }
6
+
website: "https://thegraph.com"
7
+
network: ["Mainnet", "Testnet"]
8
+
---
9
+
10
+
Getting historical data on a smart contract can be frustrating when you’re building a dapp. [The Graph](https://thegraph.com/) provides an easy way to query smart contract data through APIs known as subgraphs. The Graph’s infrastructure relies on a decentralized network of indexers, enabling your dapp to become truly decentralized.
11
+
12
+
The Graph supports both Scroll mainnet & testnet.
13
+
14
+
#### Quick Start
15
+
16
+
These subgraphs only take a few minutes to set up. To get started, follow these three steps:
17
+
18
+
1. Initialize your subgraph project
19
+
2. Deploy & Publish
20
+
3. Query from your dapp
21
+
22
+
Pricing: **All developers receive 100K free queries per month on the decentralized network**. After these free queries, you only pay based on usage at $4 for every 100K queries.
23
+
24
+
Here’s a step by step walk through that includes screenshots:
0 commit comments