⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

system_chainType

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

curl -X POST https://api-bittensor-mainnet.n.dwellir.com/YOUR_API_KEY \
+ -H 'Content-Type: application/json' \
+ -d '{"jsonrpc":"2.0","method":"system_chainType","params":[],"id":1}'