networksList method

Future<NetworkListResponse> networksList()

Return the /network/list response, containing a list of NetworkIdentifiers that the Rosetta server supports. @returns {Promise<any>} The response body that was provided by the server. @private

Implementation

Future<rosetta.NetworkListResponse> networksList() async {
  final result = await request('/network/list', {'metadata': {}});
  return rosetta.NetworkListResponse.fromJson(result);
}