getActivity method
Lists the Oracle Price report transactions for the given oracle key.
minTime
is the first time to include data for.
maxTime
is the last time to include data for.
limit
is the maximum number of items to return.
Implementation
Future<HeliumPagedResponse<List<HeliumTransactionPriceOracleV1>>> getActivity(
String address, {
DateTime? minTime,
DateTime? maxTime,
int? limit,
}) async {
return _client._doPagedRequest(HeliumPagedRequest(
path: '/v1/oracle/$address/activity',
parameters: {
'min_time': minTime,
'max_time': maxTime,
'limit': limit,
},
extractResponse: (json) => HeliumRequest.mapDataList(
json, (p) => HeliumTransactionPriceOracleV1.fromJson(p)),
));
}