serializeMessageString method

String serializeMessageString({
  1. TransactionSerializeEncoding encoding = TransactionSerializeEncoding.hex,
})

Serializes the message of the transaction to hexadecimal format.

Implementation

String serializeMessageString(
    {TransactionSerializeEncoding encoding =
        TransactionSerializeEncoding.hex}) {
  return encoding.encode(serializeMessage());
}