TxInput constructor

TxInput({
  1. required String txId,
  2. required int txIndex,
  3. Script? sig,
  4. Uint8List? sq,
})

Implementation

TxInput(
    {required this.txId, required this.txIndex, Script? sig, Uint8List? sq})
    : sequence = sq ?? Uint8List.fromList(DEFAULT_TX_SEQUENCE),
      // ignore: prefer_const_constructors
      scriptSig = sig ?? Script(script: []);