getRecentPerformanceSamples abstract method

Future<List<PerfSample>> getRecentPerformanceSamples(
  1. int? limit
)

Returns a list of recent performance samples, in reverse slot order. Performance samples are taken every 60 seconds and include the number of transactions and slots that occur in a given time window.

limit number of samples to return (maximum 720)

Implementation

Future<List<PerfSample>> getRecentPerformanceSamples(
  int? limit,
);