Skip to main content

Overview

In Lasso RPC Core v0.5.0, this endpoint lists chains in the default public profile. A chain configured only in another file profile does not appear. The list does not test whether an upstream can currently serve the chain.

Endpoint

Response

Returns a JSON object containing the default profile’s configured chains:
array
required
Array of chain configuration objects

Response Example

Use Cases

Discover Available Chains

Query which chains the default public profile configures:

Validate Chain Configuration

Check if a specific chain is configured in public before making a default-profile RPC request:

Dynamic Client Configuration

Use this endpoint to build default-profile RPC URLs. It does not discover chains that exist only in custom profiles:

Chain Name vs Chain ID

Lasso RPC supports referencing chains by both their numeric chain_id and their chain_name:
  • chain_id: Standard EVM chain identifier (e.g., 1, 137, 42161)
  • chain_name: Human-friendly identifier used in configuration files (e.g., ethereum, polygon, arbitrum)
Both can be used in RPC endpoint paths:

Notes

  • The list comes from public.yml, not the union of all file profiles. See the released chain controller and configuration store.
  • All returned chains have supported: true because they are configured; this is not a live capability or availability check.
  • Validated profile YAML can be reloaded without restarting the instance; each node reads its own files. See Profiles and reload.
  • Use this endpoint for default-profile chain discovery; inspect a custom profile’s configuration separately.