system_chainType
Retrieves the chain type
Parameters
None
Returns
The type of the current chain
Example
// Request
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "system_chainType"}' https://polkadot-api.bwarelabs.com/<your-endpoint-id>
// Response
{
"jsonrpc":"2.0",
"result":"Live",
"id":1
}
Last updated
Was this helpful?