serialize method
Serializes the transaction.
Implementation
List<int> serialize({bool verifySignatures = false}) {
if (verifySignatures) {
if (!areSignaturesReady()) {
throw MessageException("Not all transaction signatures are ready.");
}
}
return SolanaTransactionUtils.serializeTransaction(message, _signatures);
}