The Graph: How Blockchain Apps Query Data Without Running Nodes
future.forem.com·11h·
Discuss: DEV
🗄️Database Internals
Preview
Report Post

I had a question last week that stopped me in my tracks.

I was looking at Uniswap’s interface, and I noticed it showed my complete trade history instantly. Every swap I’d ever made. Across multiple chains. In milliseconds. I thought: "How does this work?"

The blockchain doesn’t have a "SELECT * FROM trades WHERE user = 0xRibhav" function. You can’t query Ethereum like a SQL database.

So how does Uniswap know what I’ve traded? How does OpenSea instantly show me all my NFTs across 10 different chains?

The answer: indexing.

This is Day 34 of the 60‑Day Web3 journey, still in Phase 3: Development. Today we’re talking about The Graph, blockchain indexers, and why every dApp you use depends on infrastructure you probably don’t think about.


The Problem: Blockc…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help