getAccountTransactionsData method

Future getAccountTransactionsData({
  1. required String accountAddress,
  2. int? offset,
  3. int? limit,
})

Queries an account transactions data

Implementation

Future<dynamic> getAccountTransactionsData({
  required String accountAddress,
  int? offset,
  int? limit
}) async {
  final address = HexString.ensure(accountAddress).hex();
  IndexerClient.validateAddress(address);
  final variables = {
    "address": address,
    "offset": offset,
    "limit": limit
  };
  return queryIndexer(document: GetAccountTransactionsData, variables: variables);
}