Add new RPC method to get the chain type (#5576)
* Add new RPC method to get the chain type This adds a new RPC method to get the chain type of the running chain. The chain type needs to be specified in the chain spec. This should make it easier for tools/UI to display extra information without needing to rely on parsing the chain name. * Update client/rpc-api/src/system/mod.rs Co-Authored-By: Tomasz Drwięga <[email protected]> * Primitive crate * Feedback Co-authored-by: Tomasz Drwięga <[email protected]>
parent
1d2cbfbd
Please register or sign in to comment