Reading the Chain
Talk to Ethereum with JSON-RPC
Lesson 3 of 5
Every wallet, explorer and dApp talks to a node over one plain HTTP API. Call it yourself with fetch and read the live chain.
What you'll learn
- Call an Ethereum node with a raw JSON-RPC request over fetch
- Read hex quantities as BigInt and convert wei to ETH without losing precision
- Explain what an RPC provider is and why dApps rarely run their own node
Members only
A free account unlocks this lesson and every other one.
Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.
Not sure yet? Try the free lesson first: What a blockchain actually is