deserialize static method

RawTransaction deserialize(
  1. Deserializer deserializer
)

Implementation

static RawTransaction deserialize(Deserializer deserializer) {
  final sender = AccountAddress.deserialize(deserializer);
  final sequenceNumber = deserializer.deserializeU64();
  final payload = TransactionPayload.deserialize(deserializer);
  final maxGasAmount = deserializer.deserializeU64();
  final gasUnitPrice = deserializer.deserializeU64();
  final expirationTimestampSecs = deserializer.deserializeU64();
  final chainId = ChainId.deserialize(deserializer);
  return RawTransaction(
    sender,
    sequenceNumber,
    payload,
    maxGasAmount,
    gasUnitPrice,
    expirationTimestampSecs,
    chainId,
  );
}