history method
Get transaction history for a plugin group
Implementation
Future<HistoryResponse> 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 HistoryResponse(
page: page,
pageSize: pageSize,
txs: historyPage.txs,
);
}