chainType method

Future<ChainType> chainType()

Get the chain's type.

Implementation

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