serialize method

  1. @override
Uint8List serialize({
  1. bool sig = true,
})
override

Returns the serialized encoding of the legacy transaction.

Implementation

@override
Uint8List serialize({bool sig = true}) {
  return Rlp.encode(sig ? raw() : raw().sublist(0, 6));
}