GetAccountOperationsRequest constructor

GetAccountOperationsRequest({
  1. int? account,
  2. int? depth,
  3. int? start,
  4. int? max,
})

Implementation

GetAccountOperationsRequest({int? account, int? depth, int? start, int? max})
    : super(method: 'getaccountoperations') {
  this.params = Map();
  if (account != null) {
    this.params!['account'] = account;
  }
  if (depth != null) {
    this.params!['depth'] = depth;
  }
  if (start != null) {
    this.params!['start'] = start;
  }
  if (max != null) {
    this.params!['max'] = max;
  }
}