addOutput method

int addOutput(
  1. Uint8List? scriptPubKey,
  2. int? value
)

Implementation

int addOutput(Uint8List? scriptPubKey, int? value) {
  outs.add(new Output(script: scriptPubKey, value: value));
  return outs.length - 1;
}