addInput method
Implementation
int addInput(Uint8List hash, int? index,
[int? sequence, Uint8List? scriptSig]) {
ins.add(new Input(
hash: hash,
index: index,
sequence: sequence ?? DEFAULT_SEQUENCE,
script: scriptSig ?? EMPTY_SCRIPT,
witness: EMPTY_WITNESS));
return ins.length - 1;
}