getAccountModule method

Future getAccountModule(
  1. String address,
  2. String moduleName
)

Implementation

Future<dynamic> getAccountModule(String address, String moduleName) async {
  final path = "$endpoint/accounts/$address/module/$moduleName";
  try {
    final resp = await http.get(path);
    return resp.data;
  } catch(err) {
    return null;
  }
}