getBlocksByVersion method

Future getBlocksByVersion(
  1. int version, [
  2. bool withTransactioins = false
])

Implementation

Future<dynamic> getBlocksByVersion(int version, [bool withTransactioins = false]) async {
  final path = "$endpoint/blocks/by_version/$version?with_transactions=$withTransactioins";
  final resp = await http.get(path);
  return resp.data;
}