Transaction.fromBytes constructor

Transaction.fromBytes(
  1. Uint8List bytes, {
  2. bool? expectWitness,
})

Constructs a transaction from serialised bytes. See fromReader().

Implementation

factory Transaction.fromBytes(Uint8List bytes, { bool? expectWitness })
  => Transaction.fromReader(BytesReader(bytes), expectWitness: expectWitness);