Skip to content
Docs

Chains

Filter by plan

The chain list hides chains outside your plan and chains switched off for your account or project.

Overview

GET /v1/chains never returns the global Gray3 catalog—it returns the intersection of: your subscription plan allowlist, account-level network switches, and per-project network toggles in Console. If a chain is missing from the list, other routes will reject that chainId even if you hard-code it from old docs.

Three layers of filtering

  1. Plan — Free / Starter / Pro include different chain sets (plan_chain_denied).
  2. Account networks — Owner can disable chains for all projects on the account.
  3. Project networks — Per-project enable list in Console.

Refresh the chains list after billing or network changes; cache it in your app with a TTL (for example 15 minutes) rather than shipping a static chain list in the mobile binary.

Seeing the hidden chains

To find out which layer hides a chain, call GET /v1/chains/all.

Related errors

Errors use HTTP { "error": { "code", "message", "retryable" } }. Branch on code, not the message text.

Every authenticated route may also return unauthorized (401), revoked_secret (401), forbidden (403), credits_exhausted (402), plan_feature_denied (403), rate_limit_exceeded (429, retryable), and invalid_argument (413) for request bodies over 256 KiB.

CodeHTTPWhen
plan_chain_denied403chainId is not on the project plan
chain_disabled403Chain turned off in Console › Networks
unsupported_capability400Capability not offered for this chain (e.g. testnet prices)
json
{
  "error": {
    "code": "plan_chain_denied",
    "message": "Human-readable detail (may be sanitized).",
    "retryable": false
  }
}

Enable networks for a project · What each plan unlocks