networkStatus method

Future<NetworkStatusResponse> networkStatus()

Return /network/status response, describing the current status of the network. @returns {Promise

Implementation

Future<rosetta.NetworkStatusResponse> networkStatus() async {
  assert(networkIdentifier != null, "Cannot get networkIdentifier");
  var result = await request(
      '/network/status',
      rosetta.NetworkRequest.fromMap(
          {"network_identifier": networkIdentifier}).toJson());
  return rosetta.NetworkStatusResponse.fromMap(result);
}