Get the chain's type.
Future<ChainType> chainType() async { final response = await _provider.send('system_chainType', []); return ChainType.fromJson(response.result); }