networkStatus method
Return /network/status response, describing the current status of the network. @returns {Promise<any>} The response body that was provided by the server. @private
Implementation
Future<rosetta.NetworkStatusResponse> networkStatus() async {
assert(networkIdentifier != null, 'Cannot get networkIdentifier.');
final result = await request(
'/network/status',
rosetta.NetworkRequest.fromJson(
{'network_identifier': networkIdentifier},
).toJson(),
);
return rosetta.NetworkStatusResponse.fromJson(result);
}