history method

Future<TxHistoryPage> history(
  1. String groupHex, {
  2. int page = 0,
  3. int pageSize = 10,
})

Get transaction history for a plugin group

Implementation

Future<TxHistoryPage> history(
  String groupHex, {
  int page = 0,
  int pageSize = 10,
}) async {
  final data = await proxy.get(
    '/plugin/$pluginName/$groupHex/history?page=$page&page_size=$pageSize',
  );

  final historyPage = _decodeProto(data, () => pb.TxHistoryPage());
  return TxHistoryPage.fromProto(historyPage);
}