Output constructor

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

Implementation

Output(
    {super.type,
    super.script,
    int? value,
    super.valueBuffer,
    List<Uint8List>? super.pubkeys,
    List<Uint8List>? super.signatures,
    super.maxSignatures})
    : super(
          value: value) {
  if (value != null && !isShatoshi(value))
    throw ArgumentError('Invalid output value');
}