Docs

system_chainType - JSON-RPC Method

Get the chain type (e.g., Live, Development) for Bittensor.

Description

Returns the network environment type reported by the node (for example, Development, Local, or Live).

When to use it:

  • Gate behavior by environment (e.g., hide faucets or disable dangerous actions on Live).
  • Verify you are connected to the expected environment in CI, staging, or production.
  • Surface readable environment context in UIs and logs.

It returns a short string such as Live for mainnet.

Code Examples