system_chain – Mythos JSON-RPC Method
Returns the name of the chain the node is connected to (for example Mythos
). Helpful for validating configuration when switching between canary deployments and mainnet.
Parameters
This method takes no parameters.
Returns
Field | Type | Description |
---|---|---|
result | string | Chain name reported by the node. |
Request Example
{
"jsonrpc": "2.0",
"method": "system_chain",
"params": [],
"id": 1
}
Notes
- Use alongside
system_properties
to load token decimals and SS58 prefixes dynamically. - When operating multiple environments, guardrails can assert the expected chain before broadcasting extrinsics.