Lasso RPC Core
Lasso RPC Core is the open-source routing engine behind Lasso. Run it in front of your nodes and providers, and your apps get one JSON-RPC endpoint per chain over HTTP and WebSocket that picks the best upstream for each request, fails over on retryable errors and shows its work.What it does
- Routes by measurement. Health checks and circuit breakers decide which
providers are eligible.
fastestandbalanced-fastthen order them by recent latency, per chain, kind of request and transport;load-balancedspreads load across them. A provider route pins one upstream for debugging. - Fails over safely. Retries are bounded by the original deadline and by whether a method is safe to repeat.
- Keeps subscriptions alive. Matching
newHeadsandlogssubscriptions share one upstream stream and move to another provider with missed blocks backfilled. - Separates workloads. Profiles give each app or environment its own provider pool and routing settings, sharing upstream connections where the URL and credentials match.
- Shows its work. Opt-in request metadata names the provider, latency and retries behind each response. A live dashboard, Prometheus metrics and OpenTelemetry traces cover the rest. Regional nodes route from their own measurements and can cluster for a combined view.