Skip to main content

Overview

All HTTP RPC endpoints accept POST requests with Content-Type: application/json and follow the JSON-RPC 2.0 specification.

Base Endpoint

Routes requests using the default strategy (configurable, defaults to load_balanced).

Parameters

  • :chain - Chain identifier (name or numeric ID)
    • Chain name: ethereum, base, arbitrum
    • Chain ID: 1, 8453, 42161

Example

Response:

Strategy Endpoints

Explicitly specify the routing strategy for provider selection.

Fastest

Orders eligible providers by recent, reliability-qualified latency. Other eligible providers remain available for bounded fallback.

Load Balanced

Starts from randomized order and gives distinct physical instances a first pass for replay-safe requests.

Latency Weighted

Probabilistically routes requests with bias toward lower-latency providers.

Provider Override Endpoints

Route directly to a specific provider, bypassing strategy selection.

Parameters

  • :provider_id - Provider identifier (e.g., alchemy, infura, quicknode)
  • :chain - Chain identifier

Example

Alternative syntax:

Profile-Scoped Endpoints

All routes above are available under a profile namespace for per-profile routing.

Parameters

  • :profile - Profile slug (e.g., public, testnet, production)

Example

Without an explicit profile in the URL, requests automatically use the "public" profile. Ensure config/profiles/public.yml exists at startup.
A profile selects configuration; it does not authenticate clients or isolate tenant traffic.

Method and transport policy

Core forwards supported reads and can send eth_sendRawTransaction to one upstream. It rejects eth_subscribe and eth_unsubscribe over HTTP and provides a WebSocket route hint. Unknown methods and provider-local filter methods have separate dispatch and affinity limits. See the released supported-methods contract for the complete method and execution-safety boundary.

Request Headers

Required Headers

Optional Headers

Provider Override Header

You can specify a provider via header instead of URL path:

Query Parameters

Choose a strategy with its URL path, such as /rpc/fastest/ethereum. The default route does not use ?strategy= to override its strategy. Core does not authenticate client requests; protect the endpoint at your network or reverse proxy boundary.

Response Format

Success Response

Error Response

For a request to /rpc/not-a-chain in the default public profile:

Error Codes

Response Headers

Standard Headers

Observability Headers

With include_meta=headers:

CORS

All origins are allowed (*). Allowed headers:
  • Content-Type
  • Authorization
  • X-Requested-With
  • X-Lasso-Provider
  • X-Lasso-Transport
  • X-Lasso-Include-Meta
Preflight responses are cached for 24 hours.