serializeString method

String serializeString({
  1. TransactionSerializeEncoding encoding = TransactionSerializeEncoding.base58,
  2. bool verifySignatures = false,
})

Serializes the transaction to string format.

Implementation

String serializeString(
    {TransactionSerializeEncoding encoding =
        TransactionSerializeEncoding.base58,
    bool verifySignatures = false}) {
  final ser = serialize(verifySignatures: verifySignatures);
  return encoding.encode(ser);
}