Output constructor

Output({
  1. Uint8List? script,
  2. int? value,
  3. List<Uint8List?>? pubkeys,
  4. List<Uint8List?>? signatures,
  5. Uint8List? valueBuffer,
})

Implementation

Output({
  this.script,
  this.value,
  this.pubkeys,
  this.signatures,
  this.valueBuffer,
}) {
  if (value != null && !isShatoshi(value!)) throw ArgumentError('Invalid ouput value');
}