Intelligent Data Routing

Routes each RPC call to the most up-to-date endpoint by monitoring real-time block freshness across all connected providers.

Intelligent Data Routing ensures every RPC request is always sent to the best possible endpoint based on real-time blockchain data quality, not just uptime. Instead of statically distributing traffic, this PowerUp continuously evaluates connected RPC endpoints and dynamically routes each call to the provider that has the freshest block.

This eliminates issues caused by drifting or lagging RPC nodes and ensures that every application receives the most reliable, up-to-date blockchain data.

🧠

Requires Endpoint Health Monitor: To route requests to the freshest and most reliable node, this PowerUp depends on Endpoint Health Monitor being enabled. Guide on enabling Endpoint Health Monitor.

How to enable Intelligent Data Routing?

Open your custom gateway

Open the custom gateway where you want to enable the Intelligent Data Routing

Open your custom gateway

How Intelligent Data Routing Works

The Gateway constantly evaluates every connected endpoint in the background. One of the key things it checks is the latest block number, which helps measure how fresh the data is. By doing this, the system can avoid sending responses from nodes that are lagging behind or serving stale blocks, ensuring you always get the most up-to-date results.

What happens during routing

  1. Gateway receives an RPC request
  2. All connected endpoints are evaluated for block freshness
  3. The endpoint with latest block data is selected

This ensures stability even when one provider is struggling or falling behind the network.

Why Intelligent Routing Matters

In a typical multi-provider RPC setup, traffic is often routed to any node that appears online — even if that node is lagging behind the chain tip. This can result in incorrect latest block readings and unreliable application data.

Intelligent Data Routing resolves this by continuously detecting and avoiding slow, stale, or unhealthy nodes. Even if a node is technically online, traffic is dynamically redirected to healthier providers, ensuring consistent, accurate, and up-to-date responses.

Real-World Impact

Application TypeBenefit
WalletsAccurate balance & transaction status every time
DEX / SwapsNo stale price or pool reads
ExplorersConsistent block and receipt indexing

Example Request (no special parameters needed)

curl -X POST https://ethereum-mainnet.gateway.tatum.io \
  -H "x-api-key: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
        "id": 1,
        "jsonrpc": "2.0",
        "method": "eth_blockNumber",
        "params": []
      }'

Even though the request contains no routing information, the Gateway chooses the freshest and most consistent endpoint at that moment.

How Intelligent Routing Works with Other PowerUps

PowerUpInteraction
RPC AcceleratorLeverages the fastest and freshest endpoint to build and serve cached data
Endpoint Health MonitorExcludes failing or unstable endpoints before routing decisions are made

When all three PowerUps are enabled, the Gateway becomes self-optimising delivering fast, fresh, and stable performance even under high load or volatile network conditions.

FAQs — Intelligent Data Routing

Do I need more than one endpoint for Intelligent Routing?
Yes — Intelligent Data Routing activates only when two or more endpoints are assigned to a Gateway.
Does Intelligent Routing slow requests down?
No. All node evaluations happen in the background. Requests are routed instantly using the already computed endpoint score.
Can Intelligent Routing be combined with Load Distribution?
Yes. When both powerUps are enabled, only the healthiest and most up-to-date endpoints participate in load distribution, ensuring stale or underperforming nodes do not receive traffic.