JSON-RPC is a legacy protocol designed for simple wallet interactions, not the complex, multi-chain applications of today. Its request-response model forces developers to write custom logic for every chain, creating fragmented and inefficient development. This is the core infrastructure problem limiting composability.
The Future of RPCs: Beyond JSON-RPC to a Universal Query Layer
JSON-RPC is a 2015 protocol holding back 2024 dApps. We dissect its limitations and map the evolution to a universal query layer for complex, aggregated on-chain data.
Introduction
JSON-RPC is a legacy bottleneck that fragments developer experience and limits blockchain interoperability.
The future is a universal query layer that abstracts chain-specific RPC endpoints into a single, intelligent interface. This layer will handle intent-based data fetching and cross-chain state resolution, similar to how The Graph indexes data or how UniswapX abstracts liquidity sources. The goal is declarative, not imperative, queries.
This shift unlocks new application primitives. Developers will request outcomes—'the best price across Uniswap and Curve on Ethereum and Arbitrum'—instead of managing individual RPC calls. This mirrors the evolution from SQL databases, where you declare what you need, not how to fetch it.
The Core Argument
JSON-RPC is a legacy bottleneck; the future is a unified, intent-aware data layer that abstracts blockchain complexity.
JSON-RPC is a bottleneck. It's a low-level, synchronous protocol designed for simple queries, forcing developers to manually aggregate and interpret fragmented on-chain data across multiple calls.
The next layer is a query engine. This is a unified interface that composes data from RPCs, indexers like The Graph, and state proofs into a single, verifiable response, similar to GraphQL for web3.
This evolution enables intent-centric architectures. Applications express what data they need (e.g., 'best liquidity route'), not how to fetch it, mirroring the shift seen in UniswapX and Across Protocol.
Evidence: The proliferation of specialized RPC providers (Alchemy, QuickNode) and indexing services proves the market demand for abstraction beyond vanilla node queries.
Key Trends Driving the Shift
The RPC is evolving from a simple data pipe into the critical abstraction layer for user and application interaction.
The Problem: JSON-RPC is a Developer's Burden
Raw JSON-RPC forces developers to manage complex logic for data fetching, error handling, and chain-specific quirks. This creates brittle applications and wasted engineering cycles.
- Spaghetti Code: Apps need custom logic for gas estimation, block confirmations, and fallback providers.
- Performance Tax: Sequential calls for simple queries (e.g., token balance + ENS name) create ~300-500ms latency.
- Fragmented DevEx: Each new chain (Ethereum, Solana, Sui) requires learning a new RPC dialect.
The Solution: A Declarative, Intent-Centric Layer
Modern RPCs like Chainscore and K2 are adopting a query-based model, inspired by GraphQL and intent architectures like UniswapX. Developers declare what data they need, not how to fetch it.
- Batch Everything: A single query can fetch balances, NFTs, and transaction simulations atomically.
- Chain Abstraction: One standardized interface for Ethereum, Solana, and layerzero-connected chains.
- Cost Efficiency: Aggregated requests reduce provider calls, slashing infrastructure costs by -50%.
The Problem: RPC as a Centralized Chokepoint
Traditional RPC providers are black-box services. They control data access, can censor transactions, and create single points of failure for $10B+ TVL in DeFi.
- Censorship Risk: Providers can front-run or block transactions based on OFAC lists.
- Opacity: No verifiable proof that returned data (e.g., MEV bundle outcomes) is correct.
- Vendor Lock-in: Switching providers requires rewriting application code.
The Solution: Verifiable & Decentralized Query Networks
The next evolution is RPCs with cryptographic guarantees, moving towards a model like The Graph but for real-time state. Nodes compete to serve queries, with validity proofs or slashing for incorrect data.
- Provable Data: Light clients can verify query responses via ZK proofs or optimistic verification.
- Anti-Censorship: Query routing through a decentralized network of nodes, similar to POKT.
- Market Efficiency: A competitive marketplace for data service drives down costs and improves uptime.
The Problem: Missing Application Context
A vanilla RPC has no awareness of the application using it. It can't prioritize queries for a high-frequency DEX vs. a wallet, optimize for latency vs. cost, or pre-fetch predictable data.
- Blind Optimization: The infra doesn't know if a query is for a UI render or a back-end settlement.
- No Personalization: Can't tailor data streams (e.g., NFT metadata + floor price) for specific app needs.
- Inefficient Caching: Generic caching strategies miss app-specific data patterns.
The Solution: The Programmable RPC & Session Keys
RPC endpoints become programmable execution environments. Inspired by account abstraction and session keys, apps can define policies for gas sponsorship, query batching, and real-time data streams.
- App-Specific Logic: Define rules like "sponsor gas for first-time users" or "stream all new Uniswap pools".
- Predictive Pre-fetching: The RPC learns app patterns to cache data before it's requested.
- Monetization Layer: Developers can offer premium, context-aware data services directly through the RPC.
The RPC Evolution Matrix
Comparing the evolution of blockchain access layers from basic JSON-RPC to advanced intent-based query systems.
| Core Feature / Metric | JSON-RPC (Legacy) | Enhanced RPC (Current) | Universal Query Layer (Future) |
|---|---|---|---|
Protocol Standard | JSON-RPC 2.0 | JSON-RPC 2.0 + Extensions | GraphQL / Custom Query Language |
Query Model | Imperative (User specifies how) | Imperative with Optimizations | Declarative (User specifies what) |
Multi-Chain Query Support | |||
Intent-Based Routing | |||
MEV Protection / Slippage Control | Via Bundled Services (e.g., Flashbots) | Native (e.g., UniswapX, CowSwap) | |
Typical Latency for State Read | 100-300ms | 50-150ms | < 50ms (with local caching) |
Data Aggregation Capability | None (single chain call) | Limited (batched RPC) | Full (cross-chain, historical, indexed) |
Representative Projects | Alchemy, Infura, QuickNode | Alchemy Supernode, QuickNode Solana RPC | The Graph, Goldsky, Chainscore |
Anatomy of a Universal Query Layer
A universal query layer abstracts the fragmented blockchain data landscape into a single, composable interface for applications and users.
JSON-RPC is a bottleneck. It exposes raw, low-level data, forcing developers to build and maintain complex indexing and aggregation logic for every new chain, a problem solved by services like The Graph and Covalent but at the cost of new vendor lock-in.
The universal layer is declarative. Applications state their data intent—'the best price for 100 ETH across Uniswap, Curve, and Balancer on Arbitrum'—and the network's execution layer, inspired by systems like UniswapX and Across, finds and assembles the result.
This shifts compute to the edge. Instead of centralized RPC providers doing the heavy lifting, a decentralized network of indexers and responders competes on execution, creating a market for data freshness and latency, similar to Pyth's pull-oracle model.
Evidence: The Graph processes over 1 billion queries daily, proving demand for indexed data, but its subgraph model requires per-application deployment. A universal layer generalizes this into a shared public good.
Protocol Spotlight: Early Movers
The JSON-RPC endpoint is a bottleneck. The next generation treats the RPC as a universal query layer for composable data.
The Problem: The Infura Monoculture
Centralized RPC providers like Infura create systemic risk and data silos, limiting application logic to simple eth_call.\n- Single point of failure for major dApps and wallets.\n- No custom logic – developers can't filter, transform, or aggregate on-chain data at the edge.\n- Vendor lock-in stifles innovation beyond basic read/write operations.
The Solution: Ponder as a Data Compute Layer
Ponder moves computation to the data, enabling real-time indexing and complex queries via SQL on indexed blockchain data.\n- Sub-Second Latency for complex historical queries impossible with standard RPCs.\n- Developer SQL allows joins, aggregates, and custom logic without managing infrastructure.\n- Live Syncing from RPCs to a dedicated database, decoupling query performance from chain consensus.
The Solution: Goldsky's Streaming GraphQL
Goldsky transforms the RPC into a real-time data stream, providing a GraphQL interface for event-driven applications.\n- Sub-100ms Latency for new blocks and event-driven updates.\n- Declarative Queries let developers specify what data they need, not how to fetch it.\n- Seamless Integration with serverless and edge platforms like Vercel for global low-latency.
The Solution: Alchemy's Supernode & APIs
Alchemy augments the core JSON-RPC with enhanced APIs, abstracting complexity for web2 developers and adding reliability layers.\n- Enhanced APIs like alchemy_getTokenBalances replace 1000s of RPC calls with one.\n- 99.9%+ Uptime with global load balancing and mempool surveillance.\n- Webhooks & Notifications push-based model eliminates polling, reducing cost and latency.
The Meta-Solution: Decentralized RPC Networks
Networks like Pocket Network and Lava Protocol use crypto-economic incentives to create a decentralized market for RPC provisioning.\n- Censorship Resistance through a globally distributed node network.\n- Cost Stability via token-based payment, insulating from AWS price fluctuations.\n- Protocol-Specific Optimization with dedicated gateways for chains like Solana and Cosmos.
The Endgame: A Universal State Query Layer
The future RPC is not a simple pipe but a composable data plane. Think GraphQL meets Apache Flink for blockchain.\n- Intent-Based Queries: Declare your data need, the network finds the optimal path (indexer, archive node, rollup).\n- On-Demand Proving: Light clients can request ZK proofs of state validity for specific queries.\n- Unified Multi-Chain Abstraction: A single query fetches and combines data from Ethereum, Solana, and a rollup.
The Counter-Argument: Isn't This Just a Fancy Indexer?
A universal query layer is not an indexer; it is a composable execution environment for data and logic.
Indexers answer questions, query layers execute intents. A traditional indexer like The Graph pre-computes answers to specific, known queries. A universal query layer like Chainscore's RPC++ processes a declarative intent and dynamically assembles the optimal data sources and compute to fulfill it.
The composability is the innovation. An indexer's output is a static dataset. A query layer's output is a composable data pipeline that can chain calls across protocols like Uniswap, Aave, and Chainlink within a single request, enabling complex cross-protocol logic.
This shifts the burden from the developer to the infrastructure. Instead of writing custom code to stitch together data from Etherscan, Dune Analytics, and a node, developers submit a declarative query. The infrastructure handles optimization, caching, and real-time execution, abstracting away the underlying complexity of the blockchain data stack.
Risk Analysis: What Could Go Wrong?
A universal query layer introduces new attack surfaces and systemic risks that could undermine its core value proposition.
The Centralizing Aggregator
Universal layers risk becoming centralized choke points, replicating the very problem they aim to solve. A single provider controlling the gateway to all chains creates a systemic SPOF.
- Censorship Risk: A single entity can filter or block transactions.
- Data Integrity: A compromised aggregator could serve maliciously altered state data.
- Vendor Lock-in: Protocols become dependent on a single query API, stifling competition.
The MEV Oracle Problem
Aggregating data from multiple sources for intent execution creates a new oracle problem. The layer must decide which chain state is 'true' for cross-chain queries, opening vectors for manipulation.
- Timing Attacks: Adversaries can exploit latency differences between chains.
- Settlement Ambiguity: Conflicting finality guarantees (e.g., Solana vs. Ethereum) make consistent views impossible.
- Frontrunning: The query layer itself could become a privileged MEV searcher.
Protocol Bloat & Client Trust
To be universal, the query layer must embed validation logic for every supported chain, creating a massive, fragile client. Light clients for dozens of chains are impractical, forcing users to trust the layer's attestations.
- Security Dilution: A bug in one chain's adapter compromises the entire system.
- Trust Assumption: Users must verify a signature from the layer, not the underlying chain.
- Update Lag: Slow to integrate new chains or consensus changes, reducing universality.
Economic Capture by L1s
Dominant Layer 1s like Ethereum and Solana have no incentive to cede control of their primary interface. They could degrade performance for universal RPCs or make proprietary extensions standard, fragmenting the landscape.
- API Sabotage: L1s could rate-limit or deprioritize aggregated queries.
- Ecosystem Lock-in: Promotion of native tooling (e.g., Ethers.js, Solana Web3.js) over universal standards.
- Revenue Cannibalization: L1s profit from their own RPC services; a universal layer threatens this.
Future Outlook: The 24-Month Roadmap
The JSON-RPC endpoint will evolve into a universal, intent-aware query layer that abstracts away blockchain complexity.
The endpoint becomes a gateway. JSON-RPC's request-response model is insufficient for modern applications. The new standard will be a declarative query layer, where developers state what data or state they need, not how to fetch it across chains. This mirrors the shift from SQL to NoSQL for web2 scale.
Intent-centric architecture wins. Protocols like UniswapX and CowSwap prove users prefer declaring outcomes. RPC providers like Chainscore and Alchemy will build systems that parse user intents, find optimal execution paths across rollups and L1s, and return composable results. The RPC call becomes a transaction simulation.
Standardization fragments then consolidates. Competing standards from EIP-4337 (account abstraction), ERC-7683 (cross-chain intent framework), and layerzero will create initial fragmentation. Within 18 months, a dominant universal intent schema will emerge, driven by wallet and dApp adoption, creating a single query language for multi-chain state.
Evidence: The 90%+ market share of specialized RPC providers over self-hosted nodes demonstrates the demand for abstraction. The next phase abstracts the abstraction itself.
Key Takeaways
JSON-RPC is a legacy bottleneck. The future is a universal query layer that abstracts infrastructure complexity.
The Problem: The RPC is a Single Point of Failure
Today's RPC endpoints are centralized chokepoints for latency, censorship, and downtime. A single provider outage can brick dApps for millions of users.
- Downtime Risk: A single provider failure can cause ~100% API error rates for dependent dApps.
- Censorship Vulnerability: Providers can be forced to filter transactions, breaking neutrality.
- Performance Lottery: Latency varies wildly (200ms to 2s+) based on geographic load and provider health.
The Solution: Decentralized RPC Networks (e.g., Lava Network, Pocket Network)
Replace single endpoints with a peer-to-peer network of independent node providers. This creates redundancy, competitive pricing, and censorship resistance.
- Redundant Uptime: Requests are routed across hundreds of nodes, eliminating single-provider risk.
- Market-Driven Pricing: Providers compete on price and quality, reducing costs by ~30-50%.
- Universal Access: A single integration supports EVM, Cosmos, Solana, and more, via a unified API.
The Paradigm Shift: From RPC Calls to Intents & Declarative Queries
The endgame is moving beyond low-level eth_call to a universal query layer. Developers declare what data they need, not how to fetch it, similar to the shift from Uniswap v2 to UniswapX.
- Abstraction: Request "best price for 100 ETH to USDC" instead of manually calling multiple DEX contracts.
- Optimized Execution: The network finds the optimal data source or route, slashing latency by 10x.
- Composability: Enables new primitives like account abstraction and cross-chain intents pioneered by Across and LayerZero.
The Economic Model: Staking for Service Quality & Sybil Resistance
Token-incentivized networks like Pocket use a staking mechanism to align provider incentives with reliable service, moving beyond pure SaaS pricing.
- Skin in the Game: Providers stake native tokens; poor performance or downtime leads to slashing.
- Sybil Resistance: Staking requirements prevent spam and ensure node operator commitment.
- Earn-While-You-Serve: Node operators earn fees in the network token, creating a permissionless marketplace for RPC services.
Get In Touch
today.
Our experts will offer a free quote and a 30min call to discuss your project.