Docs

chainSpec_v1_chainName - JSON-RPC Method

Return the chain name via the chainSpec v1 RPC on Bittensor.

Description

Read static chain specification data such as chain name, ss58 properties, and genesis hash. Use this to configure clients (address format, token info) or verify you are talking to the expected network.

Returns the chain name from the runtime's ChainSpec.

Code Examples