MintTransaction constructor

MintTransaction({
  1. int? epoch,
  2. Iterable<ValueTransferOutput>? outputs,
})

Implementation

factory MintTransaction({
  int? epoch,
  Iterable<ValueTransferOutput>? outputs,
}) {
  final _result = create();
  if (epoch != null) {
    _result.epoch = epoch;
  }
  if (outputs != null) {
    _result.outputs.addAll(outputs);
  }
  return _result;
}