TransactionInput constructor

TransactionInput({
  1. OutPoint? previousOutput,
  2. int? sequence,
  3. List<int>? script,
})

Implementation

factory TransactionInput({
  OutPoint? previousOutput,
  $core.int? sequence,
  $core.List<$core.int>? script,
}) {
  final _result = create();
  if (previousOutput != null) {
    _result.previousOutput = previousOutput;
  }
  if (sequence != null) {
    _result.sequence = sequence;
  }
  if (script != null) {
    _result.script = script;
  }
  return _result;
}