addOutput method

int addOutput (Uint8List scriptPubKey, int value)

Add input to the transaction

Implementation

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