system_chainType
Retrieves the chain type

Parameters

None
Returns
The type of the current chain

Example

1
// Request
2
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "system_chainType"}' https://polkadot-api.bwarelabs.com/<your-endpoint-id>
3
4
// Response
5
{
6
"jsonrpc":"2.0",
7
"result":"Live",
8
"id":1
9
}
Copied!
Copy link