Ai Overview
Any production team eventually needs an RPC migration guide. Nadcab Cloud starts at $10 with no rate tiers: you pay $0. 99% uptime and publishes a live status page, which is useful during migration windows. 375 per 1M compute units, with Nadcab Cloud from $10 and no rate tiers.
Key Takeaways
- A safe RPC migration starts with a full dependency inventory across apps, jobs, chains, transports, and credentials.
- Shadow traffic is the lowest-risk way to compare read responses before moving live production requests.
- The right target architecture may be shared, dedicated, or hybrid depending on archive needs, compliance, and write-path criticality.
- Cutover plans should separate config changes from code changes so rollback is fast and operationally simple.
- Post-migration success depends on validating correctness, WebSocket recovery, archive workloads, and observability—not just uptime.
Any production team eventually needs an RPC migration guide. Sometimes a vendor changes architecture. Sometimes you need better chain coverage, archive access, WebSocket stability, or a cleaner way to manage multiple environments. The hard part is not changing one URL. The hard part is moving wallets, indexers, workers, cron jobs, and signing services without breaking reads, writes, or monitoring.
RPC migrations fail when teams treat them like a config swap. In practice, every app has hidden dependencies: old environment variables, historical queries, hardcoded WebSocket URLs, retry logic tuned for one provider, and jobs that only run at night. If you miss any of them, the cutover looks fine in staging and then fails in production.
This guide gives you a practical playbook to migrate safely. It covers endpoint inventory, target architecture, fallback design, shadow traffic, API key rollout, and post-cutover validation across multi-chain apps. Where useful, it shows how teams can use Nadcab RPC as a single gateway across 70+ networks with one API key and a consistent endpoint format.
One API key. 70+ blockchains. Production-grade RPC.
Nadcab RPC gives you HTTPS and WebSocket endpoints across 150+ chain endpoints with smart routing and a 99.99% gateway uptime target. Pay as you go from $0.375 per 1M compute units.
Why RPC migrations fail in production
Most outages during migration come from assumptions, not code. Teams assume every service uses the same endpoint. They assume read methods behave the same across chains. They assume WebSocket subscriptions will reconnect cleanly. They assume archive calls are rare enough to ignore.
Those assumptions break fast in real systems. A backend API may only need recent state, while a reconciliation worker depends on historical traces. A wallet service may write through HTTPS, while a price listener depends on WebSocket subscriptions. An indexer may tolerate retries, while a transaction broadcaster must fail fast and switch paths immediately.
A second failure pattern is cutting over everything at once. If you change endpoint URLs, authentication, retries, and transport in one release, you cannot isolate regressions. Safe migrations separate concerns: first observe, then mirror, then shift traffic in stages.
If you need a refresher on infrastructure basics before planning the move, see Nadcab Labs’ guide to Web3 infrastructure: nodes, RPCs, and APIs.
Inventory every dependency on your current RPC endpoints
Before you choose a replacement, list every place your current RPC is used. Do not stop at the main app. Include jobs, admin scripts, CI pipelines, serverless functions, data exports, and incident tooling.
What to inventory
- Applications: frontend apps, API servers, worker fleets, indexers, bots, and internal dashboards
- Chains: each network, environment, and chain-specific method in use
- Protocols: HTTPS JSON-RPC, WebSocket subscriptions, chain-specific SDK access
- Method classes: recent reads, pending-state reads, writes, archive queries, tracing, logs, filters
- Credentials: API keys, IP allowlists, origin allowlists, secret managers, CI secrets
- Operational dependencies: health checks, rate alerts, dashboards, latency SLOs, on-call runbooks
A good inventory also records business criticality. Not every call path is equal. If a notification worker falls behind for ten minutes, that may be acceptable. If a withdrawal signer cannot submit transactions, it is not.
Simple inventory template
| Service | Network | Transport | Methods | Needs archive? | Fallback path | Owner |
|---|---|---|---|---|---|---|
| Wallet API | ethereum | HTTPS | eth_call, eth_sendRawTransaction | No | Secondary endpoint | Backend |
| Indexer | arbitrum | HTTPS + WebSocket | eth_getLogs, newHeads | Sometimes | Replay from last block | Data |
| Treasury reconciliation | polygon | HTTPS | eth_getBalance, historical reads | Yes | Batch rerun | Finance Eng |
For multi-chain teams, consolidating this inventory often reveals the next architecture decision. If you are maintaining separate providers, keys, and naming conventions per chain, a unified gateway can remove a lot of migration risk. Nadcab RPC uses one endpoint pattern across supported networks: https://rpc.nadcab.com/<network-slug>/<your-api-key>. You can review supported chains on the Nadcab chain list.
Choose the right target architecture: shared, dedicated, or hybrid
Do not migrate into the wrong shape. Your target should match your reliability and control needs, not just replace the old URL.
Shared endpoints
Shared infrastructure is usually the fastest path when you want less operational burden. It fits apps that need broad chain support, straightforward scaling, and simple onboarding for dev, staging, and production. Nadcab Cloud is designed for this model with shared auto-scaling endpoints and one API key across networks.
Dedicated infrastructure
Dedicated clusters fit teams with strict compliance, custom authentication, private routing requirements, or higher sensitivity to noisy-neighbor risk. If you need custom auth, compliance logging, or an enterprise SLA, Nadcab Craft is the dedicated option.
Hybrid architecture
Many production systems land here. Use shared endpoints for broad reads across many chains, but keep dedicated capacity for the most critical write paths, archive-heavy workloads, or regulated environments. Hybrid works well when you want to centralize routing while preserving control over selected nodes.
If you already run some of your own nodes and want better failover and request steering, Nadcab Core combines your nodes with Nadcab’s routing engine.
Decision checklist
| Need | Shared | Dedicated | Hybrid |
|---|---|---|---|
| Fastest migration | Best fit | Slower | Moderate |
| Broad multi-chain access | Best fit | Depends on setup | Best fit |
| Custom auth and compliance logging | Limited | Best fit | Best fit |
| Keep existing self-hosted nodes | No | Possible | Best fit |
| Strict isolation for critical workloads | Limited | Best fit | Best fit |
For more on how routing and SLAs affect application behavior, read Managed Chain RPC: how SLAs and routing affect apps.
Stop overpaying for RPC requests
Nadcab Cloud starts at $10 with no rate tiers: you pay $0.375 per 1M compute units and scale up or down without contracts. Every plan includes archive and WebSocket access on supported networks.
Build a safe cutover plan with fallback and shadow traffic
The safest migration plan has four phases: observe, mirror, shift, and retire.
1. Observe current behavior
Record baseline metrics before making changes. At minimum, track method-level error rate, percentile latency, transaction submission success, WebSocket disconnect frequency, and block lag for indexers.
2. Mirror read traffic
For idempotent reads, send the same request to the new endpoint in the background and compare responses. This is shadow traffic. Do not let the shadow response affect user flows yet. Log differences in status, shape, and timing.
Shadowing is especially useful for:
eth_callon hot contractseth_getLogsover typical block rangeseth_getBlockByNumbernear chain head- token balance and nonce reads used before writes
3. Shift a small percentage of live traffic
Move one service, one chain, or one endpoint group at a time. A common first move is read-only API traffic on a non-critical chain, followed by WebSockets, then transaction writes.
4. Keep rollback simple
Your rollback should be a config change, not a code deploy. Put provider selection behind a feature flag or service discovery layer. If your incident response requires editing source files, rollback will be too slow.
Nadcab RPC can help here because a single API key and consistent endpoint path reduce the number of moving parts during staged rollout. Its gateway also targets 99.99% uptime and publishes a live status page, which is useful during migration windows.
Update endpoint URLs, API keys, and client configs
Once the migration plan is staged, update configuration in a way that avoids hardcoding chain-specific assumptions.
Recommended config structure
RPC_BASE_URL=https://rpc.nadcab.com
RPC_API_KEY=<your-api-key>
ETHEREUM_RPC_URL=${RPC_BASE_URL}/ethereum/${RPC_API_KEY}
POLYGON_RPC_URL=${RPC_BASE_URL}/polygon/${RPC_API_KEY}
ARBITRUM_RPC_URL=${RPC_BASE_URL}/arbitrum/${RPC_API_KEY}
SOLANA_RPC_URL=${RPC_BASE_URL}/solana/${RPC_API_KEY}
That pattern makes rotation easier. You can change the gateway or key centrally without rewriting each service.
ethers.js example
import { JsonRpcProvider, Wallet } from "ethers";
const provider = new JsonRpcProvider(
"https://rpc.nadcab.com/ethereum/<your-api-key>"
);
const block = await provider.getBlockNumber();
console.log("head", block);
const signer = new Wallet(process.env.PRIVATE_KEY, provider);
// const tx = await signer.sendTransaction({ to, value });
viem example with fallback logic
import { createPublicClient, fallback, http } from 'viem'
import { mainnet } from 'viem/chains'
const primary = http('https://rpc.nadcab.com/ethereum/<your-api-key>')
const secondary = http(process.env.ROLLBACK_RPC_URL)
const client = createPublicClient({
chain: mainnet,
transport: fallback([primary, secondary]),
})
const blockNumber = await client.getBlockNumber()
console.log(blockNumber)
WebSocket and non-EVM notes
If you depend on subscriptions, verify that your client’s reconnect logic is explicit and tested. Do not assume the library default is enough. Also confirm that each chain integration uses the correct SDK and method set. Nadcab RPC works with ethers.js, viem, web3.js, and @solana/web3.js, but your code should still keep chain-specific transports isolated behind adapters.
For setup and error-handling patterns, see How to integrate Web3 APIs: authentication, error handling, and RPC setup.
Pick the RPC setup that fits your stage
- Nadcab Cloud: shared, auto-scaling endpoints for dApps and wallets
- Nadcab Core: bring your own nodes and add our smart routing engine
- Nadcab Craft: dedicated clusters, custom auth, compliance logging and enterprise SLA
- Nadcab for Chains: RPC infrastructure for new L1 and L2 networks
Test reads, writes, websockets, and historical methods before launch
Pre-launch testing should mimic production traffic, not just run a health check.
Reads
- Compare
eth_calloutputs for key contracts at the same block - Validate token balances, nonces, gas estimates, and latest block numbers
- Test pagination or block-range logic for logs
Writes
- Submit low-risk transactions in staging and production canaries
- Check mempool propagation and receipt polling behavior
- Verify retry logic does not create duplicate submission risk
WebSockets
- Drop the connection intentionally and verify recovery
- Confirm subscriptions resume without missing block notifications
- Measure how your consumer handles bursty event streams after reconnect
Historical methods
This is where many migrations break. If your workloads need archive data, test them explicitly. On major EVM chains such as Ethereum, BNB Smart Chain, Polygon, Arbitrum, Optimism, and Base, Nadcab RPC provides archive data and MEV protection. That matters for backfills, reconciliation jobs, and simulations that rely on older state.
Also test methods your product rarely uses. Nightly jobs and finance exports often surface hidden dependencies long after cutover day.
If your team is unsure what to measure during validation, Nadcab Labs has a practical article on RPC benchmarking for dev teams.
Handle rate, latency, and correctness regressions after cutover
Even a clean launch can reveal regressions once all traffic moves. Plan for tuning after the cutover.
Rate-related issues
If request volume spikes, the problem may be your app, not the RPC. Migrations often expose duplicate retries, chatty polling loops, and inefficient log scans. Before scaling spend, reduce unnecessary calls.
Nadcab RPC uses pay-as-you-go pricing at $0.375 per 1M compute units, with Nadcab Cloud from $10 and no rate tiers. That pricing model helps teams reason about real usage while cleaning up inefficient request patterns.
Latency regressions
Latency can increase if you moved from single-region assumptions to a globally routed gateway without retuning timeouts. Review client-side deadlines, concurrency, and cache behavior. For indexers, widen worker queues before shrinking timeouts.
Correctness regressions
These are more dangerous than slowdowns. Common examples include different default block tags, inconsistent log range handling, and app code that silently accepted malformed responses from the old setup. Add response validation for critical methods instead of trusting shape alone.
Rule: if a method affects user balances, transaction submission, or accounting, validate both transport success and semantic correctness.
For teams building data-heavy systems, it also helps to separate raw chain access from indexed application queries. This article on indexed blockchain data vs RPC is a useful framing tool during post-migration cleanup.
Post-migration checklist for uptime, observability, and rollback
Do not declare success when traffic reaches the new endpoint. Declare success when rollback is no longer needed and the new baseline is stable.
Operational checklist
- Confirm every service and environment uses the new endpoint
- Rotate or disable old API keys after a safety window
- Verify dashboards include method-level success, latency, and timeout metrics
- Track WebSocket reconnect counts and consumer lag
- Check archive-dependent jobs, reports, and backfills
- Review cost by service and chain after one full business cycle
- Document the new rollback path and on-call runbook
- Subscribe the team to the provider’s status page and maintenance alerts
If you are standardizing on Nadcab RPC after migration, keep these links in the runbook: developer docs, RPC FAQ, get a free API key, and the supported network list.
Related guides from Nadcab Labs
Final Thoughts
A successful RPC migration is an infrastructure project, not a string replacement. The teams that avoid downtime do three things well: they inventory every dependency, migrate in stages with fallback and shadow traffic, and validate real production behaviors like writes, subscriptions, and historical queries.
If you want to simplify the target state, Nadcab RPC gives teams one API key, HTTPS and WebSocket access, and a consistent multi-chain gateway across 70+ networks and 150+ endpoints. But the bigger lesson is broader than any single platform: treat RPC as critical production infrastructure, build rollback before cutover, and measure correctness as carefully as availability.
Ship faster on infrastructure you don’t have to babysit
Get one API key for 70+ networks, HTTPS and WebSocket endpoints, smart routing and a live status page. Building something bigger? Our blockchain team can design and run the full stack with you.
Get Your Free API Key →Talk to Our Experts
Pay as you go · No rate tiers · 99.99% gateway uptime target
Frequently Asked Questions
Q1.How do I migrate RPC endpoints without downtime?
Start by inventorying every service that uses your current RPC, including workers, indexers, WebSocket consumers, and admin scripts. Then mirror read traffic to the new endpoint, compare results, and shift production traffic gradually by chain or service. Keep rollback behind configuration or feature flags so you can revert quickly without a code deploy.
Q2.What should I test before switching to a new RPC provider?
Test more than basic connectivity. Validate recent reads, transaction submission, receipt polling, WebSocket reconnect behavior, historical queries, and chain-specific methods your app depends on. If your product uses archive data, simulate backfills and accounting jobs before launch, because those workloads often fail later than user-facing APIs.
Q3.Why do RPC migrations break indexers and background jobs?
Indexers and background jobs often depend on behaviors that are not visible in frontend testing, such as block-range log queries, archive reads, retry policies, and subscription recovery after disconnects. They also tend to run on schedules, so missing one dependency may not show up until hours after cutover unless you test those paths directly.
Q4.How should I structure RPC configuration for multi-chain apps?
Use a central base URL and API key pattern, then derive per-chain endpoints through environment variables or service discovery. This keeps credential rotation and provider rollback simple. Avoid hardcoding URLs in application code, and isolate chain-specific clients behind adapters so EVM and non-EVM integrations can evolve independently.
Q5.When should I use shared versus dedicated RPC infrastructure?
Shared infrastructure fits teams that want quick setup, broad chain coverage, and less operational overhead. Dedicated infrastructure is better when you need custom authentication, compliance logging, stronger isolation, or enterprise controls. Many production teams choose a hybrid model, using shared endpoints for general reads and dedicated capacity for critical write or archive-heavy workloads.
Explore Services
Related Services
Reviewed by

Aman Vaths
Founder of Nadcab Labs
Aman Vaths is the Founder & CTO of Nadcab Labs, a global digital engineering company delivering enterprise-grade solutions across AI, Web3, Blockchain, Big Data, Cloud, Cybersecurity, and Modern Application Development. With deep technical leadership and product innovation experience, Aman has positioned Nadcab Labs as one of the most advanced engineering companies driving the next era of intelligent, secure, and scalable software systems. Under his leadership, Nadcab Labs has built 2,000+ global projects across sectors including fintech, banking, healthcare, real estate, logistics, gaming, manufacturing, and next-generation DePIN networks. Aman’s strength lies in architecting high-performance systems, end-to-end platform engineering, and designing enterprise solutions that operate at global scale.


