Yashotantra Academy
AI · Blockchain · Cloud · Data
Dark mode active
Learn
Tracks
ABCD
Certification
More
▾
Dark mode active
Learn
Tracks
ABCD
Certification
Study
Theory
Code Lab
Build
Solidity IDE
Staking Sandbox
Simulation
Reference
Wallets
Gas Fees
Explorers
← Code Lab
Node.js
0/50 solved · 0%
All lessons
lesson
code
Web3 · medium
21. RPC Request Batcher
Group individual calls into a batch.
Write `batchRequests(calls)` that returns a single object `{ jsonrpc: '2.0', batch: calls }`.
Required in your answer:
jsonrpc
params: calls
Reveal solution
Run & check
Reset
Runs in a sandboxed worker
function batchRequests(calls) { // TODO }
Output appears here.
← 20. Simple Cache Map
22. Exponential Backoff Calc →