Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
developer-ecosystem-tools-languages-and-grants
Blog

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
THE QUERY BOTTLENECK

Introduction

JSON-RPC is a legacy bottleneck that fragments developer experience and limits blockchain interoperability.

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 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.

thesis-statement
THE UNIVERSAL QUERY LAYER

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.

FROM INFRASTRUCTURE TO ABSTRACTION

The RPC Evolution Matrix

Comparing the evolution of blockchain access layers from basic JSON-RPC to advanced intent-based query systems.

Core Feature / MetricJSON-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

deep-dive
THE POST-RPC STACK

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
THE FUTURE OF RPCS

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.

01

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.

60%+
Ethereum Traffic
1
Query Model
02

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.

<1s
Query Time
SQL
Interface
03

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.

<100ms
Event Latency
GraphQL
Interface
04

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.

99.9%
Uptime SLA
10x
Fewer Calls
05

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.

30k+
Service Nodes
50+
Supported Chains
06

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.

ZK Proofs
Verification
Multi-Chain
Abstraction
counter-argument
THE DISTINCTION

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
THE PITFALLS OF ABSTRACTION

Risk Analysis: What Could Go Wrong?

A universal query layer introduces new attack surfaces and systemic risks that could undermine its core value proposition.

01

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.
1
Critical SPOF
100%
Censorship Power
02

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.
~500ms
Attack Window
$B+
MEV at Risk
03

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.
50+
Trusted Adapters
High
Attack Surface
04

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.
$100M+
RPC Revenue
Major L1s
Adversaries
future-outlook
THE UNIVERSAL QUERY LAYER

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.

takeaways
THE RPC EVOLUTION

Key Takeaways

JSON-RPC is a legacy bottleneck. The future is a universal query layer that abstracts infrastructure complexity.

01

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.
~100%
Failure Risk
2s+
Peak Latency
02

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.
~50%
Cost Reduced
99.9%+
Uptime
03

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.
10x
Faster Dev
Intent-Based
New Primitive
04

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.
Staked
Security
Permissionless
Marketplace
ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
The Future of RPCs: Beyond JSON-RPC to a Universal Query Layer | ChainScore Blog