getDagOrder method
Returns the whole DAG order (all blocks hash ordered by topo height).
If no parameters are set, it will retrieve the last 64 blocks hash ordered descending. Maximum of 64 blocks hash only per request.
Implementation
Future<List<String>> getDagOrder(
GetTopoHeightRangeParams getTopoHeightRangeParams,
) async {
final result = await sendRequest(
DaemonMethod.getDagOrder,
getTopoHeightRangeParams.toJson(),
);
return (result as List).map((e) => e as String).toList();
}