signedSerialized method

List<int> signedSerialized([
  1. ETHSignature? sig
])

Gets the serialized transaction for signing.

Implementation

List<int> signedSerialized([ETHSignature? sig]) {
  sig ??= signature;
  if (sig == null) {
    throw const MessageException(
        "The transaction signed serialized cannot be obtained before the signing process.");
  }
  return _serialized(sig);
}